From f10dd13a285adb287fda452f9f3557f35ba178e1 Mon Sep 17 00:00:00 2001 From: Humble Devassy Chirammal Date: Fri, 13 Mar 2015 15:33:06 +0530 Subject: doc: adding logging details in admin guide. Change-Id: I4552d98ff6b51e8171865cd0a569f6e793db9dd0 BUG: 1194640 Signed-off-by: Humble Devassy Chirammal Reviewed-on: http://review.gluster.org/9876 Reviewed-by: Kaleb KEITHLEY Reviewed-by: Lalatendu Mohanty Tested-by: Lalatendu Mohanty --- doc/admin-guide/en-US/markdown/admin_logging.md | 56 +++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 doc/admin-guide/en-US/markdown/admin_logging.md (limited to 'doc') diff --git a/doc/admin-guide/en-US/markdown/admin_logging.md b/doc/admin-guide/en-US/markdown/admin_logging.md new file mode 100644 index 00000000000..f15907bbe61 --- /dev/null +++ b/doc/admin-guide/en-US/markdown/admin_logging.md @@ -0,0 +1,56 @@ +# GlusterFS service Logs and locations + +Below lists the component, services, and functionality based logs in the GlusterFS Server. As per the File System Hierarchy Standards (FHS) all the log files are placed in the `/var/log` directory. +⁠ + +##glusterd: + +glusterd logs are located at `/var/log/glusterfs/etc-glusterfs-glusterd.vol.log`. One glusterd log file per server. This log file also contains the snapshot and user logs. + +##gluster cli command: +gluster cli logs are located at `/var/log/glusterfs/cmd_history.log` Gluster commands executed on a node in a GlusterFS Trusted Storage Pool is logged in the `.cmd_log_history` file. + +##bricks: +Bricks logs are located at `/var/log/glusterfs/bricks/.log` . One log file per brick on the server + +##rebalance: +rebalance logs are located at `/var/log/glusterfs/VOLNAME-rebalance.log` . One log file per volume on the server. + +##self heal deamon: +self heal deamon are logged at `/var/log/glusterfs/glustershd.log`. One log file per server + +##quota: + +`/var/log/glusterfs/quotad.log` are log of the quota daemons running on each node. +`/var/log/glusterfs/quota-crawl.log` Whenever quota is enabled, a file system crawl is performed and the corresponding log is stored in this file. +`/var/log/glusterfs/quota-mount- VOLNAME.log` An auxiliary FUSE client is mounted in /VOLNAME of the glusterFS and the corresponding client logs found in this file. + + One log file per server (and per volume from quota-mount. + +##Gluster NFS: + +`/var/log/glusterfs/nfs.log ` One log file per server + +##SAMBA Gluster: + +`/var/log/samba/glusterfs-VOLNAME-.log` . If the client mounts this on a glusterFS server node, the actual log file or the mount point may not be found. In such a case, the mount outputs of all the glusterFS type mount operations need to be considered. + +##Ganesha NFS : +`/var/log/nfs-ganesha.log` + +##FUSE Mount: +`/var/log/glusterfs/.log ` + +##Geo-replication: + +`/var/log/glusterfs/geo-replication/` +`/var/log/glusterfs/geo-replication-slaves ` + +##gluster volume heal VOLNAME info command: +`/var/log/glusterfs/glfsheal-VOLNAME.log` . One log file per server on which the command is executed. + +##gluster-swift: +`/var/log/messages` + +##SwiftKrbAuth: +`/var/log/httpd/error_log ` -- cgit