]> git.puffer.fish Git - matthieu/frr.git/commitdiff
lib: don't disable "log file" on "log syslog"
authorDavid Lamparter <equinox@diac24.net>
Thu, 24 Jan 2019 17:59:03 +0000 (18:59 +0100)
committerDavid Lamparter <equinox@diac24.net>
Thu, 24 Jan 2019 18:06:00 +0000 (19:06 +0100)
FRR log targets are independent, so "log syslog" must not disable
"log file" output.

Fixes: #3551
Fixes: 0204baa87630b210c71d9ae0e2569cff0fb0539b
Signed-off-by: David Lamparter <equinox@diac24.net>
lib/command.c

index cae705446703ce5218e0694600cc2162bd358efe..06879f6854470bd9fbdbd1a8db4a9090af52deea 100644 (file)
@@ -2515,8 +2515,6 @@ DEFUN (config_log_syslog,
 {
        int idx_log_levels = 2;
 
-       disable_log_file();
-
        if (argc == 3) {
                int level;
                if ((level = level_match(argv[idx_log_levels]->arg))