I tried with log level INFO. When i set log level in log4j.properties to INFO, i dont see any log messages at that level.
On setting it to ERROR, I could see one message as
[ERROR]: Couldn't find hyphenation pattern en
Also in fop 0.5 i had set log level to DEBUG only, but the log was just fine. It was very small when compared to 0.9.
Below is my log4j.properties file. I am using the same file for fop 0.5
# Root logger. Two Appenders (stdout & fileout). DEBUG Level.
log4j.rootLogger=DEBUG, stdout, filout
# A1 is set to be a ConsoleAppender which outputs to System.out.
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=[%p]: %m%n
# A2 is set to be a FileAppender which outputs to System.out.
log4j.appender.fileout=org.apache.log4j.FileAppender
log4j.appender.fileout.File=d:\\l-n\\log\\was\\LogFile\\log.out
#log4j.appender.fileout.DatePattern='.'DD-MM-yyyy
log4j.appender.fileout.layout=org.apache.log4j.PatternLayout
log4j.appender.fileout.layout.ConversionPattern= [%p]: %m%n
Regards,
Ruchika
On 10/26/06, Chris Bowditch <[EMAIL PROTECTED]> wrote:
ruchika thakur wrote:
> Hi Chris
>
> Thanks a lot for your help on logging in fop 0.9 . It was great help!!
> I was able to get the logs for FOP. But the logs that i am getting in
> fop 0.9 are too long as compared to what i was getting in fop 0.2. There
> is a comparable difference.
> Please suggest if we need to do some settings to resolve this or FOP
> 0.9 gives such messages only.
Your log level is too granular, so you are getting all the DEBUG and
TRACE level messages. I suggest you set log level to INFO. You should be
able to set the log level in your log4.properties file.
<snip/>
Chris
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
