Make sure --logfile has precedence on config
authorKevin Ottens <kevin.ottens@nextcloud.com>
Mon, 5 Oct 2020 17:34:46 +0000 (19:34 +0200)
committerMichael Schuster (Rebase PR Action) <misch7@users.noreply.github.com>
Wed, 7 Oct 2020 13:33:20 +0000 (13:33 +0000)
commit167800320ff0fbeda001f3a355e6d0896fabb5ca
tree5bb3458cfc1411f343da6121f14510a2f5f13271
parentb0a38816fc507c8f06f38c2bc2ecae8c153b8b87
Make sure --logfile has precedence on config

Since we changed the default in the config file and since log dir had
precedence on log file, the --logfile command line option wasn't doing
anything anymore.

We make sure it has an effect again overriding --logdir or the logDir
config entry.

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
src/gui/application.cpp