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

Merge branch 'fix_logging_stdout_issue' into 'main'

logging: set stderr as default unit

See merge request !87
parents 25c80d0c 7c4adf91
No related branches found
No related tags found
1 merge request!87logging: set stderr as default unit
Pipeline #285121 passed with stages
in 9 minutes and 12 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 stderr for level > 2 (stdout has a bug with gfortran)
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