${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
+ ${INSTALL} -m 644 ${top_srcdir}/config/log4crc ${PREFIX}/etc/glite-lb-log4crc
+ ${INSTALL} -m 644 ${top_srcdir}/config/log4crc ${PREFIX}/share/doc/${package}-${version}/log4crc.example-production
+ ${INSTALL} -m 644 ${top_srcdir}/config/log4crc.debugging ${PREFIX}/share/doc/${package}-${version}/log4crc.example-debugging
${INSTALL} -m 755 ${LTLIB} ${PREFIX}/${libdir}/${LTLIB}
clean:
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
+and its configuration file log4crc.
-- 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
+There is one configuration file $GLITE_LOCATION/etc/glite-lb-log4crc
+that startup scripts use 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
+A file log4crc.example-debugging may be useful to copy to $HOME/.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
+in the log4crc file, one gets only the debugging info related to the
+underlying database subsystem calls.
-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.
<category name="CONTROL" priority="error" appender="syslog"/>
<category name="CONTROL" priority="fatal" appender="stderr"/>
- <!-- category name="LB" priority="debug" appender="stdout"/-->
- <!-- category name="LB.LOGD" priority="debug" appender="stdout"/-->
- <!-- category name="LB.INTERLOGD" priority="debug" appender="stdout"/-->
- <!-- category name="LB.SERVER" priority="debug" appender="stdout"/-->
+ <!-- category name="LB" priority="debug" appender="stderr"/-->
+ <!-- category name="LB.LOGD" priority="debug" appender="stderr"/-->
+ <!-- category name="LB.INTERLOGD" priority="debug" appender="stderr"/-->
+ <!-- category name="LB.SERVER" priority="debug" appender="stderr"/-->
<!-- default appenders ===================================== -->
<appender name="stdout" type="stream" layout="basic"/>