[prev in list] [next in list] [prev in thread] [next in thread] 

List:       juddi-user
Subject:    can not find juddi.log file
From:       "Brian Gao" <bgao () nortel ! com>
Date:       2005-03-05 4:20:20
Message-ID: 9428043D7D160A48A21EA5F45F955E0618567B () zcarhxm0 ! corp ! nortel ! com
[Download RAW message or body]

Hi all
I am trying to debug my "juddi-uddi4j" problem with log files,but I could
not find juddi.log in my machine.
I have commons-logging.jar and log4j-1.2.8.jar both in my CLASSPATH, and I
configured log4j.properties like:


 Uncomment to have log4j be verbose while parsing this file
log4j.debug

# CONSOLE is set to be a ConsoleAppender using a PatternLayout.
log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
log4j.appender.CONSOLE.layout.ConversionPattern=- %m%n
log4j.appender.CONSOLE.Threshold=INFO

# LOGFILE is set to be a RollingFileAppender appender using a TTCCLayout.
#log4j.appender.LOGFILE=org.apache.log4j.RollingFileAppender
log4j.appender.LOGFILE.layout=org.apache.log4j.TTCCLayout
log4j.appender.LOGFILE.layout.ContextPrinting=true
log4j.appender.LOGFILE.layout.DateFormat=ISO8601
log4j.appender.LOGFILE.MaxFileSize=10MB
log4j.appender.LOGFILE.MaxBackupIndex=3
log4j.appender.LOGFILE.File=juddi.log

# Set root category priority to DEBUG and its appender to LOGFILE.
#log4j.rootCategory=WARN, LOGFILE

log4j.rootCategory=DEBUG, LOGFILE
# Set the Axis enterprise logger category to FATAL and its only appender to
CONSOLE.
log4j.logger.org.apache.axis.enterprise=FATAL, CONSOLE

Could you tell me why I can not have juddi.log?

Brian

[Attachment #3 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2658.2">
<TITLE>can not find juddi.log file</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2 FACE="Arial">Hi all</FONT>
<BR><FONT SIZE=2 FACE="Arial">I am trying to debug my &quot;juddi-uddi4j&quot; \
problem with log files,but I could not find juddi.log in my machine.</FONT> <BR><FONT \
SIZE=2 FACE="Arial">I have commons-logging.jar and log4j-1.2.8.jar both in my \
CLASSPATH, and I configured log4j.properties like:</FONT> </P>
<BR>

<P><FONT SIZE=2 FACE="Arial">&nbsp;Uncomment to have log4j be verbose while parsing \
this file</FONT> <BR><FONT SIZE=2 FACE="Arial">log4j.debug</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial"># CONSOLE is set to be a ConsoleAppender using a \
PatternLayout.</FONT> <BR><FONT SIZE=2 \
FACE="Arial">log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender</FONT> <BR><FONT \
SIZE=2 FACE="Arial">log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout</FONT>
 <BR><FONT SIZE=2 FACE="Arial">log4j.appender.CONSOLE.layout.ConversionPattern=- \
%m%n</FONT> <BR><FONT SIZE=2 \
FACE="Arial">log4j.appender.CONSOLE.Threshold=INFO</FONT> </P>

<P><FONT SIZE=2 FACE="Arial"># LOGFILE is set to be a RollingFileAppender appender \
using a TTCCLayout.</FONT> <BR><FONT SIZE=2 \
FACE="Arial">#log4j.appender.LOGFILE=org.apache.log4j.RollingFileAppender</FONT> \
<BR><FONT SIZE=2 FACE="Arial">log4j.appender.LOGFILE.layout=org.apache.log4j.TTCCLayout</FONT>
 <BR><FONT SIZE=2 FACE="Arial">log4j.appender.LOGFILE.layout.ContextPrinting=true</FONT>
 <BR><FONT SIZE=2 FACE="Arial">log4j.appender.LOGFILE.layout.DateFormat=ISO8601</FONT>
 <BR><FONT SIZE=2 FACE="Arial">log4j.appender.LOGFILE.MaxFileSize=10MB</FONT>
<BR><FONT SIZE=2 FACE="Arial">log4j.appender.LOGFILE.MaxBackupIndex=3</FONT>
<BR><FONT SIZE=2 FACE="Arial">log4j.appender.LOGFILE.File=juddi.log</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial"># Set root category priority to DEBUG and its appender \
to LOGFILE.</FONT> <BR><FONT SIZE=2 FACE="Arial">#log4j.rootCategory=WARN, \
LOGFILE</FONT> </P>

<P><FONT SIZE=2 FACE="Arial">log4j.rootCategory=DEBUG, LOGFILE</FONT>
<BR><FONT SIZE=2 FACE="Arial"># Set the Axis enterprise logger category to FATAL and \
its only appender to CONSOLE.</FONT> <BR><FONT SIZE=2 \
FACE="Arial">log4j.logger.org.apache.axis.enterprise=FATAL, CONSOLE</FONT> </P>

<P><FONT SIZE=2 FACE="Arial">Could you tell me why I can not have juddi.log?</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Brian</FONT>
</P>

</BODY>
</HTML>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic