]> git.puffer.fish Git - mirror/frr.git/commitdiff
tests: Make all commands logged 10778/head
authorDonald Sharp <sharpd@nvidia.com>
Fri, 11 Mar 2022 16:19:29 +0000 (11:19 -0500)
committerDonald Sharp <sharpd@nvidia.com>
Fri, 11 Mar 2022 16:19:29 +0000 (11:19 -0500)
Do not allow the test system to turn off the logging of commands
Some tests use the reload command that is accidently turning off
the logging.  Just force the tests to ignore it.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
tests/topotests/lib/topotest.py

index 4e5fe4c90bb9cccf3b4570e692888232f8a5c8f0..62b6a8a70e9dd183d42269a8ef8b3402cfc9943e 100644 (file)
@@ -1749,7 +1749,7 @@ class Router(Node):
                         daemon, self.logdir, self.name
                     )
 
-                cmdopt = "{} --log file:{}.log --log-level debug".format(
+                cmdopt = "{} --command-log-always --log file:{}.log --log-level debug".format(
                     daemon_opts, daemon
                 )
             if extra_opts: