Code style at function log_message changed accordingly to the file code convention.