So then not only I can control the logging from the logging.ini file, I
can control it via the property. Meaning, if the property is set to
WARN, but the ini file says DEBUG for the appender, all I get is WARN?
Here is what I have in my .ini file:
#Two appenders defined, one for a file log (MAIN) and the other to
standard out (STDOUT)
log4j.rootLogger=DEBUG, MAIN, STDOUT
log4j.appender.MAIN=org.apache.log4j.RollingFileAppender
log4j.appender.MAIN.File=logs/manifoldcf.log
log4j.appender.MAIN.MaxFileSize=10000KB
log4j.appender.MAIN.MaxBackupIndex=10
log4j.appender.MAIN.layout=org.apache.log4j.PatternLayout
log4j.appender.MAIN.layout.ConversionPattern=%d %5p [%t] (%F:%L) - %m%n
log4j.appender.STDOUT=org.apache.log4j.ConsoleAppender
log4j.appender.STDOUT.layout=org.apache.log4j.PatternLayout
log4j.appender.STDOUT.layout.ConversionPattern=%d %5p [%t] (%F:%L) -
%m%n
On Tue, 24 May 2011 15:10:16 -0400, Karl Wright <[email protected]>
wrote:
<property name="org.apache.manifoldcf.db" value="DEBUG"/>
<property name="org.apache.manifoldcf.connectors" value="DEBUG"/>
Karl
On Tue, May 24, 2011 at 3:08 PM, <[email protected]> wrote:
What is the properties.xml line to turn on logging say for
connectors and
db. Is it the following? Do you say value = true or enabled or on?
<property name="org.apache.manifoldcf.db" value="true"/>
<property name="org.apache.manifoldcf.connectors" value="true"/>
Thanks,
Farzad.