logo       

Re: Need help regarding a message printed from log4cxx: msg#00027

Subject: Re: Need help regarding a message printed from log4cxx

On Apr 27, 2007, at 1:22 AM, Anand Sherkhane wrote:

Hi,

I'm seeing this message printed on console: "log4cxx: Large window sizes are not allowed"

Any idea why this is happening?


The message should occur when you specify that you want to have more than 12 files in your rolling file "pool".  You have set the maximum file number to be 5 and the implied minimum number is 1, so you should be well within that limit.  



My conf file looks like this:

<snip>
log4j.rootLogger=DEBUG, abc

log4j.appender.abc=org.apache.log4j.RollingFileAppender
log4j.appender.abc.Threshold=DEBUG
log4j.appender.abc.File=../../../logs/auth_plugins.log
log4j.appender.abc.layout=org.apache.log4j.PatternLayout
log4j.appender.abc.layout.ConversionPattern=%d{ISO8601} %d{%Z} %-20c [%-6p] - %m%n
log4j.appender.abc.ImmediateFlush=true
log4j.appender.abc.Append=true
log4j.appender.abc.MaxBackupIndex=5
log4j.appender.abc.MaxFileSize=1024KB

log4j.logger.xyz=INHERIT, abc
log4j.additivity.xyz=false
</snip>

Regards,
Anand.


The fragment looks okay.  If it is misbehaving, I'd think it is a bug in log4cxx that needs to be tracked down.  As an experiment, I'd suggest removing the MaxBackupIndex and see if the message goes away.

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
audio.irate.dev...    yellowdog.gener...    ietf.ips/2002-0...    xfree86.fonts/2...    busybox/2003-07...    emacs.jdee/2004...    linux.mandrake....    hardware.microc...    user-groups.lin...    science.analysi...    version-control...    db.filemaker.de...    cluster.openmos...    mail.eyebrowse....    text.xml.xerces...    kde.devel.kwrit...    finance.moneyda...    gcc.regression/...    network.routing...    os.freebsd.deve...    recreation.radi...    qnx.openqnx.dev...    python.xml/2002...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe