Project

General

Profile

Actions

Bug #4676

closed

daemon logs aren't opened until daemonize

Added by Sage Weil about 11 years ago. Updated about 11 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
Development
Tags:
Backport:
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

This explains by the log banner with the ceph version etc usually does not appear in the log.

We don't call the LogObs until common_init_finish(), which is called after daemonize, which starts the threads.

It would be nice to get logging before that point, since mon and osd both can do significant work prior to daemonize.

Actions

Also available in: Atom PDF