logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 52155] Application getting stuck at java.io.FileOutputStream.writeBytes
Date Thu, 10 Nov 2011 05:22:37 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=52155

Curt Arnold <carnold@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #1 from Curt Arnold <carnold@apache.org> 2011-11-10 05:22:37 UTC ---
Please ask usage questions on log4j-user@logging.apache.org. Closing this bug
as INVALID until an specific error is identified.

I don't recognize org.apache.log4j.CompositeRollingAppender initially. The
source is located in the contribs/KevinSteppe directory where it has been since
2002 with only trivial changes to the comments. It is a legacy from the
earliest days of log4j. The problem may or may not be related to the component.

If appears that on the logging request that stalled, an attempt was made to
write to a log file, but an exception was thrown. The exception was processed
by the default error handler which writes calls PrintStackTrace on the
exception. The call to PrintStackTrace stalled for unknown reasons.

To attack the problem, you can either try to find why you are getting an
exception in CountingQuietWriter.write, replace the default error handler with
something else that doesn't try to write to the console, or search your JVM or
environment bug list for reports of problems with
FileOutputStream.writeBytes().

See tests/input/xml/fallback1.xml for an example of configuring an different
error handler.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message