summaryrefslogtreecommitdiffstats
path: root/extras
diff options
context:
space:
mode:
authorBala.FA <barumuga@redhat.com>2013-08-13 11:27:50 +0530
committerVijay Bellur <vbellur@redhat.com>2013-08-14 13:06:31 -0700
commit1ea8ee6bc92ad887d47d3aff2404404681c4cfa9 (patch)
tree320dd94b11969444145d102f9a73734c96856fed /extras
parentfc82ae5ddf3b1821095de4188fead9a25bc24191 (diff)
log: add logger.conf.example file
This example file can be safely renamed as logger.conf to enable syslog logging Change-Id: If49dd6002a046915b2eca330b7a539f4fa1f94fa BUG: 928648 Signed-off-by: Bala.FA <barumuga@redhat.com> Reviewed-on: http://review.gluster.org/5622 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'extras')
-rw-r--r--extras/Makefile.am5
-rw-r--r--extras/logger.conf.example10
2 files changed, 13 insertions, 2 deletions
diff --git a/extras/Makefile.am b/extras/Makefile.am
index 2eb49aef3de..bfd9101be0d 100644
--- a/extras/Makefile.am
+++ b/extras/Makefile.am
@@ -5,11 +5,12 @@ EditorMode_DATA = glusterfs-mode.el glusterfs.vim
SUBDIRS = init.d systemd benchmarking hook-scripts $(OCF_SUBDIR) LinuxRPM geo-rep
confdir = $(sysconfdir)/glusterfs
-conf_DATA = glusterfs-logrotate gluster-rsyslog-7.2.conf gluster-rsyslog-5.8.conf
+conf_DATA = glusterfs-logrotate gluster-rsyslog-7.2.conf gluster-rsyslog-5.8.conf \
+ logger.conf.example
EXTRA_DIST = specgen.scm MacOSX/Portfile glusterfs-mode.el glusterfs.vim \
migrate-unify-to-distribute.sh backend-xattr-sanitize.sh \
backend-cleanup.sh disk_usage_sync.sh quota-remove-xattr.sh \
quota-metadata-cleanup.sh glusterfs-logrotate clear_xattrs.sh \
group-virt.example glusterd-sysconfig gluster-rsyslog-7.2.conf \
- gluster-rsyslog-5.8.conf
+ gluster-rsyslog-5.8.conf logger.conf.example
diff --git a/extras/logger.conf.example b/extras/logger.conf.example
new file mode 100644
index 00000000000..e01c141f1a0
--- /dev/null
+++ b/extras/logger.conf.example
@@ -0,0 +1,10 @@
+#
+# Sample logger.conf file to configure enhanced Logging in RHS
+#
+# To enable enhanced logging capabilities, rename this file to
+#
+# /etc/glusterfs/logger.conf
+#
+# This change requires restart of all gluster services/volumes.
+#
+#