Project

General

Profile

Actions

Bug #10113

closed

--log-to-stderr with -f/-d sends a lot of things to logfile

Added by Dan Mick over 9 years ago. Updated over 9 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

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

Related issues 2 (0 open2 closed)

Related to Ceph - Bug #9810: dout_emergency is silenced in ceph-osdDuplicateLoïc Dachary10/17/2014

Actions
Related to Ceph - Bug #10010: ceph_osd.cc calls global_init_shutdown_stderr even when running with -f or -d flagsResolvedDan Mick11/04/2014

Actions
Actions #1

Updated by Dan Mick over 9 years ago

on a vstart cluster with 3 osds, if I stop osd.2 and restart like:

./ceph-osd -i 2 -c ./ceph.conf --log-to-stderr --debug-ms=20 --debug-monc=20 --debug-osd=30 -d

I see this to stderr:

   .
   .
   .
-14 17:10:51.148543 7fd86fdf7800  1 journal close /home/dmick/src/ceph/ceph/src/dev/osd2.journal
2014-11-14 17:10:51.156581 7fd86fdf7800 10 monclient(hunting): build_initial_monmap
2014-11-14 17:10:51.175066 7fd86fdf7800 10 ErasureCodePluginSelectJerasure: load: jerasure_sse4 
2014-11-14 17:10:51.191128 7fd86fdf7800 10 load: jerasure load: lrc load: isa

and then no more logging. but piles of ms logging etc. show up in the logfile.

Changing -f to -d doesn't help.

Actions #2

Updated by Dan Mick over 9 years ago

  • Subject changed from --log-to-stderr misses some stuff to --log-to-stderr with -f/-d misses some stuff
Actions #3

Updated by Dan Mick over 9 years ago

  • Subject changed from --log-to-stderr with -f/-d misses some stuff to --log-to-stderr with -f/-d sends a lot of things to logfile
Actions #4

Updated by Sage Weil over 9 years ago

  • Status changed from New to Duplicate
Actions

Also available in: Atom PDF