Skip to content

Commit

Permalink
improved log output when running unit tests from appleseed.cli.
Browse files Browse the repository at this point in the history
  • Loading branch information
dictoon committed Apr 16, 2014
1 parent 0631c8a commit af84153
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/appleseed.cli/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,7 @@ namespace
{
// Configure our logger.
SaveLogFormatterConfig save_g_logger_config(g_logger);
g_logger.reset_all_formats();
g_logger.set_format(LogMessage::Info, "{datetime-utc} | {message}");
g_logger.set_all_formats("{datetime-utc} | {message}");

// Configure the renderer's logger: mute all log messages except warnings and errors.
SaveLogFormatterConfig save_global_logger_config(global_logger());
Expand Down Expand Up @@ -226,8 +225,7 @@ namespace
{
// Configure our logger.
SaveLogFormatterConfig save_g_logger_config(g_logger);
g_logger.reset_all_formats();
g_logger.set_format(LogMessage::Info, "{datetime-utc} | {message}");
g_logger.set_all_formats("{datetime-utc} | {message}");

// Configure the renderer's logger: mute all log messages except warnings and errors.
SaveLogFormatterConfig save_global_logger_config(global_logger());
Expand Down

0 comments on commit af84153

Please sign in to comment.