Red Hat Bugzilla – Bug 1509374
[RADOS]: "ceph log last" is not fetching exact number of lines specified
Last modified: 2018-02-22 07:26:26 EST
> `tail <number> <log-file>` command. the command is tail -<number> <log-file> and this is not accurate. for cluster log, <log-file> is by default /var/log/ceph/${cluster_name}.log, for audit log, /var/log/ceph/${cluster_name}.audit.log they are configurable using "mon_cluster_log_file". in the form of default=/var/log/ceph/$cluster.$channel.log,cluster=/var/log/ceph/$cluster.log see http://docs.ceph.com/docs/master/rados/troubleshooting/log-and-debug/.