diff options
-rw-r--r-- | sos/plugins/nfsganesha.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sos/plugins/nfsganesha.py b/sos/plugins/nfsganesha.py index be6bbd47..daab081d 100644 --- a/sos/plugins/nfsganesha.py +++ b/sos/plugins/nfsganesha.py @@ -24,6 +24,10 @@ class NfsGanesha(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): "/var/log/ganesha/*.log" ]) + if self.get_option("all_logs"): + # Grab rotated logs as well + self.add_copy_spec("/var/log/ganesha/*.log*") + self.add_cmd_output([ "dbus-send --type=method_call --print-reply" " --system --dest=org.ganesha.nfsd " |