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

List:       log4j-dev
Subject:    invalid consoleappender config error - need help
From:       Naresh Agarwal <naresh_ka () yahoo ! com>
Date:       2004-06-18 14:23:06
Message-ID: 20040618142306.46013.qmail () web40105 ! mail ! yahoo ! com
[Download RAW message or body]

Hi
 
I'm log4j (v 1.2.8) in my web application for logging purposes. My web 
application runs in JBOSS 3.2.1. I'm also using AXIS v.1.1
 
After starting JBOSS, I got the following error on JBOSS console and 
nothing is printed on console after this error.
 
----------
Error: invalid consoleappender config detected, console stream is looping
----------
 
I've spent lots of time to solve this problem. But still I'm not able 
to resolve it.
 
Any help will be greatly appreciated!
 
log4j properties file I'm using is as follows:
----
# Root logger, uses appender by name of WSHLog
log4j.rootLogger=INFO
# WSH logger, user can set the logging level to any of the following 
# DEBUG, INFO, WARNING, ERROR, FATAL. Currently we are using DEBUG
# Appender used by our logger is named WSHLog
log4j.logger.WSHLogger=INFO, WSHLog
# set its additivity to false
# this is to ensure that logging requests to WSH Logger do not
# go to loggers up in hierarchy
log4j.additivity.WSHLogger=false
# WSHLog appender, rolling file appender with file size 100KB, max 10 
files
log4j.appender.WSHLog=org.apache.log4j.RollingFileAppender
# WSH log file name
log4j.appender.WSHLog.File=wsh.log
# maximum file size, once this size is reached the current file will
# be moved to wsh.log.1, wsh.log.1 will move to wsh.log.2 and so on
log4j.appender.WSHLog.MaxFileSize=500KB
# Keep 10 backup files
log4j.appender.WSHLog.MaxBackupIndex=10
# layout for logging
log4j.appender.WSHLog.layout=org.apache.log4j.PatternLayout
log4j.appender.WSHLog.layout.ConversionPattern=%d [%t] %-5p - %C{1}::%M 
%m%n

----
 
thanks & regards,
Naresh



		
---------------------------------
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.
[Attachment #3 (text/html)]

Hi<BR> <BR>I'm log4j (v 1.2.8) in my web application for logging purposes. My web \
<BR>application runs in JBOSS 3.2.1. I'm also using AXIS v.1.1<BR> <BR>After starting \
JBOSS, I got the following error on JBOSS console and <BR>nothing is printed on \
console after this error.<BR> <BR>----------<BR><STRONG>Error: invalid \
consoleappender config detected, console stream is looping<BR></STRONG>----------<BR> \
<BR>I've spent lots of time to solve this problem. But still I'm not able <BR>to \
resolve it.<BR> <BR>Any help will be greatly appreciated!<BR> <BR>log4j properties \
file I'm using is as follows:<BR>----<BR># Root logger, uses appender by name of \
WSHLog<BR>log4j.rootLogger=INFO<BR># WSH logger, user can set the logging level to \
any of the following <BR># DEBUG, INFO, WARNING, ERROR, FATAL. Currently we are using \
DEBUG<BR># Appender used by our logger is named \
WSHLog<BR>log4j.logger.WSHLogger=INFO, WSHLog<BR># set its additivity to false<BR># \
this is to ensure that logging requests to WSH  Logger do not<BR># go to loggers up \
in hierarchy<BR>log4j.additivity.WSHLogger=false<BR># WSHLog appender, rolling file \
appender with file size 100KB, max 10 \
<BR>files<BR>log4j.appender.WSHLog=org.apache.log4j.RollingFileAppender<BR># WSH log \
file name<BR>log4j.appender.WSHLog.File=wsh.log<BR># maximum file size, once this \
size is reached the current file will<BR># be moved to wsh.log.1, wsh.log.1 will move \
to wsh.log.2 and so on<BR>log4j.appender.WSHLog.MaxFileSize=500KB<BR># Keep 10 backup \
files<BR>log4j.appender.WSHLog.MaxBackupIndex=10<BR># layout for \
logging<BR>log4j.appender.WSHLog.layout=org.apache.log4j.PatternLayout<BR>log4j.appender.WSHLog.layout.ConversionPattern=%d \
[%t] %-5p - %C{1}::%M <BR>%m%n<BR><BR>----<BR> <BR>thanks &amp; \
regards,<BR>Naresh<BR><BR> <DIV></DIV><p>
		<hr size=1>Do you Yahoo!?<br>
Read only the mail you want - <a \
href="http://us.rd.yahoo.com/mail/taglines/*http://promotions.yahoo.com/new_mail/static/protection.html">Yahoo! \
Mail SpamGuard</a>.



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

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