Actions
Feature #48074
closedcephadm logs needs a -f (follow) option
Status:
Resolved
Priority:
Low
Assignee:
-
Category:
cephadm
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:
Description
It would be nice to be able to follow logs as they are being printed from cephadm. Basically, be able to tell it to show new messages as they pop up (much like the -f option to tail(1)).
Updated by Michael Fritch over 3 years ago
arbitrary args to be can be passed to journalctl:
$ cephadm logs --name mgr.myhost.ysubfo -- -f # follow the log
https://github.com/ceph/ceph/commit/5224c5baf43d057ba54d5cfcb7efdfad91efa3fa
?
Updated by Jeff Layton over 3 years ago
- Status changed from New to Resolved
Ahh thanks! That works fine, and since it's documented in later versions of cephadm, we can probably close this.
Actions