From 5b29706d4921b2dfc1d39d9b96e9bc6217761d0d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20Posp=C3=AD=C5=A1il?= Date: Mon, 15 Mar 2010 08:16:31 +0000 Subject: [PATCH] added README about the configuration --- org.glite.lbjp-common.log/Makefile | 1 + org.glite.lbjp-common.log/README | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 org.glite.lbjp-common.log/README diff --git a/org.glite.lbjp-common.log/Makefile b/org.glite.lbjp-common.log/Makefile index 5c2c8e8..5001755 100644 --- a/org.glite.lbjp-common.log/Makefile +++ b/org.glite.lbjp-common.log/Makefile @@ -66,6 +66,7 @@ install: compile ${INSTALL} -m 644 ${top_srcdir}/src/log.h ${PREFIX}/include/${globalprefix}/${lbutilsprefix} mkdir -p ${PREFIX}/share/doc/${package}-${version} ${INSTALL} -m 644 ${top_srcdir}/LICENSE ${PREFIX}/share/doc/${package}-${version} + ${INSTALL} -m 644 ${top_srcdir}/README ${PREFIX}/share/doc/${package}-${version} mkdir -p ${PREFIX}/etc ${INSTALL} -m 644 ${top_srcdir}/src/log4crc.* ${PREFIX}/share/doc/${package}-${version} ${INSTALL} -m 644 ${top_srcdir}/src/log4crc.example-production ${PREFIX}/etc/glite-lb-log4crc diff --git a/org.glite.lbjp-common.log/README b/org.glite.lbjp-common.log/README new file mode 100644 index 0000000..f59a7bd --- /dev/null +++ b/org.glite.lbjp-common.log/README @@ -0,0 +1,19 @@ +This package implements the glite common logging formats +with respect to the gLite common logging recommendations v1.1: + +https://twiki.cern.ch/twiki/pub/EGEE/EGEEgLite/logging.html + +The implementation uses log4c (http://log4c.sourceforge.net) +and its configuration file log4crc. Two examples are provided + +- log4crc.example-production - this file is now being installed to +$GLITE_LOCATION/etc/glite-lb-log4crc and startup scripts +use it by setting the LOG4C_RCPATH environment variable + +- log4crc.example-debugging - this file may be useful to copy to +~/.log4crc (or by setting the LOG4C_RCPATH environment variable +to this file) to obtain detailed debugging output + +One can debug only specific parts of the LB system, for example +by uncommenting LB.SERVER.DB cathegory one gets only the debugging +info related to the underlying database subsystem calls. -- 1.8.2.3