Skip to content

Commit

Permalink
[ceph_common] Capture cephadm.log file
Browse files Browse the repository at this point in the history
Capture log files /var/log/ceph/cephadm.log
via the ceph_common plugin.

Related: sosreport#3809

Signed-off-by: Jose Castillo <[email protected]>
  • Loading branch information
jcastill committed Dec 5, 2024
1 parent 77a2a55 commit 2ce4cf1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sos/report/plugins/ceph_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,13 @@ def setup(self):
self.add_copy_spec([
"/var/log/calamari/*.log",
"/var/log/ceph/**/ceph.log",
"/var/log/ceph/cephadm.log",
])
else:
self.add_copy_spec([
"/var/log/calamari",
"/var/log/ceph/**/ceph.log*",
"/var/log/ceph/cephadm.log*",
])

self.add_copy_spec([
Expand Down

0 comments on commit 2ce4cf1

Please sign in to comment.