Skip to content
Snippets Groups Projects
Commit bde990c4 authored by Sebastian Müller's avatar Sebastian Müller 🐈
Browse files

logging: set stderr as default unit

parent 243a0d28
No related branches found
No related tags found
1 merge request!87logging: set stderr as default unit
Pipeline #282654 passed with stages
in 8 minutes and 9 seconds
......@@ -103,7 +103,7 @@ module mo_logging
integer, public, parameter :: LOG_TRACE = LOG_LEVEL_TRACE_DEF !< = 6, Extremely detailed output, compile your program with -DENABLE_LOG_TRACE to enable
integer, public, parameter :: LOG_SUBTRACE = LOG_LEVEL_SUBTRACE_DEF !< = 7, More Extremely detailed output, compile your program with -DENABLE_LOG_TRACE to enable
integer, public, save :: log_unit = stdout !< By default, log to stdout for level > 2
integer, public, save :: log_unit = stderr !< By default, log to stdout for level > 2
integer, public, save :: log_unit_error = stderr !< By default, log to stderr for level <= 2
integer, public, save :: minimum_log_level = LOG_INFO !< Note that more critical means a lower number
logical, public, save :: show_file_and_line = .true. !< show file name and line number in log output
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment