Bug #4676
closeddaemon logs aren't opened until daemonize
0%
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.
Updated by Sage Weil about 11 years ago
- Status changed from New to Fix Under Review
- Assignee set to Greg Farnum
- Priority changed from High to Urgent
wip-log-boot
Updated by Sage Weil about 11 years ago
simple fix is to call observers in global_init(). there is no harm in calling them twice. and note that the config ones are already called by global_init if the config file adjusts the defaults.
Updated by Greg Farnum about 11 years ago
- Status changed from Fix Under Review to Pending Backport
- Priority changed from Urgent to Normal
Merged into next in 1a3890a59fd8504176fe987cd3b1401bf721aa3f
Needs a backport but I'm turning down the priority for now.
Updated by Greg Farnum about 11 years ago
- Status changed from Pending Backport to 12
- Priority changed from Normal to High
That version didn't work; it crashed, I believe because the lockdep infrastructure isn't set up yet and we're descending into locking. We'll need to rework it.
Updated by Greg Farnum about 11 years ago
- Assignee changed from Greg Farnum to Sage Weil
Giving this back since you're no longer on vacation and I haven't had a chance to try and untangle the issues. :)
Updated by Sage Weil about 11 years ago
- Status changed from Fix Under Review to Resolved