Not to be confused by the word example
authorJan Pospíšil <honik@ntc.zcu.cz>
Mon, 15 Mar 2010 10:00:27 +0000 (10:00 +0000)
committerJan Pospíšil <honik@ntc.zcu.cz>
Mon, 15 Mar 2010 10:00:27 +0000 (10:00 +0000)
org.glite.lbjp-common.log/Makefile
org.glite.lbjp-common.log/README
org.glite.lbjp-common.log/config/log4crc [moved from org.glite.lbjp-common.log/src/log4crc.example-production with 92% similarity]
org.glite.lbjp-common.log/config/log4crc.debugging [moved from org.glite.lbjp-common.log/src/log4crc.example-debugging with 100% similarity]

index 5001755..7ea9140 100644 (file)
@@ -68,8 +68,9 @@ install: compile
        ${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:
index f59a7bd..0c699ba 100644 (file)
@@ -4,16 +4,15 @@ 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
+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"/>