Log_query
Hi All,
I am trying to look for logs while deleting or creating an osd. I have
configured "log to stderr = true" in ceph.conf file, but still logs are not available. Do I need to run cluster in development mode? Is there any additional things I am missing ?
Thanks & Regards,
Srikar.
Quoted 5 lines · Srikar
Hi All,
I am trying to look for logs while deleting or creating an osd. I have
configured "log to stderr = true" in ceph.conf file, but still logs are not available. Do I need to run cluster in development mode? Is there any additional things I am missing ?
From a quick look at the code this option only seems to be relevant in the event of a crash (if I read it right).
Information on logging and debugging can be found here.
http://docs.ceph.com/docs/master/rados/troubleshooting/log-and-debug/
Also keep in mind that you can adjust logging levels on the fly with commands like the following.
# ceph tell osd.* injectargs '--debug_osd 20 --debug_ms 20'
Most of the daemons support the -d option to run in the foreground and log to stderr.
# ceph-osd -i 0 -c ceph.conf -d
HTH,
Brad
Quoted 7 lines
Thanks & Regards,
Srikar.--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Signature · 2 lines
Cheers, Brad