Logging remove duplicate time
I already have the time logged, I do not need it a second time. Mar 31 13:39:59 c01 ceph-mgr: 2020-03-31 13:39:59.518 7f554edc8700 0 log_channel(cluster) log [DBG] : pgmap v672065: 384 pgs: 384 active+clean; I already have the time logged, I do not need it a second time. Mar 31 13:39:59 c01 ceph-mgr: 2020-03-31 13:39:59.518 7f554edc8700 0 log_channel(cluster) log [DBG] : pgmap v672065: 384 pgs: 384 active+clean; I already have the time logged, I do not need it a second time. Mar 31 13:39:59 c01 ceph-mgr: 2020-03-31 13:39:59.518 7f554edc8700 0 log_channel(cluster) log [DBG] : pgmap v672065: 384 pgs: 384 active+clean; I already have the time logged, I do not need it a second time. Mar 31 13:39:59 c01 ceph-mgr: 2020-03-31 13:39:59.518 7f554edc8700 0 log_channel(cluster) log [DBG] : pgmap v672065: 384 pgs: 384 active+clean;
How to get rid of this logging??
Mar 31 13:40:03 c01 ceph-mgr: 2020-03-31 13:40:03.521 7f554edc8700 0 log_channel(cluster) log [DBG] : pgmap v672067: 384 pgs: 384 active+clean;
Why?
I already have the time logged, I do not need it a second time.
Mar 31 13:39:59 c01 ceph-mgr: 2020-03-31 13:39:59.518 7f554edc8700 0 log_channel(cluster) log [DBG] : pgmap v672065: 384 pgs: 384 active+clean;
The timestamp of the log message and the timestamp of when syslog received it aren’t necessarily the same, and some people’s syslog setup (or equivalent) doesn’t log the receipt time.
How to get rid of this logging??
Mar 31 13:40:03 c01 ceph-mgr: 2020-03-31 13:40:03.521 7f554edc8700 0 log_channel(cluster) log [DBG] : pgmap v672067: 384 pgs: 384 active+clean;
Why?
Why not?
I already have the time logged, I do not need it a second time.
Mar 31 13:39:59 c01 ceph-mgr: 2020-03-31 13:39:59.518 7f554edc8700
0
log_channel(cluster) log [DBG] : pgmap v672065: 384 pgs: 384 active+clean;
The timestamp of the log message and the timestamp of when syslog received it arent necessarily the same, and some peoples syslog setup (or equivalent) doesnt log the receipt time.
But in most cases they are. I have mostly default setup. So this deviates from the default. That is why I am mentioning it, if ceph is logging to syslog, ceph should do this according to syslog standards.
participants (2)
-
Anthony D'Atri
-
Marc Roos