Project

General

Profile

Actions

Feature #48074

closed

cephadm logs needs a -f (follow) option

Added by Jeff Layton over 3 years ago. Updated over 3 years ago.

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)).

Actions #1

Updated by Jeff Layton over 3 years ago

  • Tracker changed from Bug to Feature
Actions #2

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

?

Actions #3

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

Also available in: Atom PDF