v.22.3Improvement

Do not reset logging for empty config file with command line options

Do not reset logging that configured via --log-file/--errorlog-file command line options in case of empty configuration in the config file. #34718 (Amos Bird).
Prevent resetting of logging configuration set via --log-file and --errorlog-file command line options when the config file has empty logging settings.

Why it matters

This feature ensures that logging settings specified on the command line persist even if the configuration file does not specify any logging parameters. It prevents accidental overrides or disabling of logging configured via command line, improving reliability and predictability of log management.

How to use it

Specify logging configuration files using the --log-file and --errorlog-file command line options as usual. Even if logging settings in the config file are empty, these command line options will remain effective without being reset.