You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by bu...@apache.org on 2012/06/11 11:43:15 UTC
[Bug 53392] New: Rolling file cannot be written, suspecting infinite
loop with log4j 1.2.16
https://issues.apache.org/bugzilla/show_bug.cgi?id=53392
Priority: P2
Bug ID: 53392
Assignee: log4j-dev@logging.apache.org
Summary: Rolling file cannot be written, suspecting infinite
loop with log4j 1.2.16
Severity: major
Classification: Unclassified
Reporter: unger@andromas.com
Hardware: PC
Status: NEW
Version: unspecified
Component: Other
Product: Log4j
running my application continuously, the log file was not renamed properly for
one day (2 days ago). Log4j tried to write this file again (altough now it's 2
days after), and seem to go into an infinite loop.
11:19:17,902 INFO com.andromas.bgp.StdOutErrLog$1 23 <14...@qtp-5525185-28>
2012-06-11 11:19:17.804:WARN::handle failed
java.io.IOException: Closed
at
org.mortbay.jetty.AbstractGenerator$Output.write(AbstractGenerator.java:632)
at
org.mortbay.jetty.AbstractGenerator$Output.write(AbstractGenerator.java:580)
at
org.mortbay.util.ByteArrayISO8859Writer.writeTo(ByteArrayISO8859Writer.java:103)
at org.mortbay.jetty.Response.sendError(Response.java:317)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:559)
at
org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:945)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
at
org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
11:19:17,959 INFO com.andromas.bgp.StdOutErrLog$1 23 <14...@qtp-5525185-28>
log4j:ERROR Failed to rename [./logs/andromas.log] to
[./logs/andromas.log.2012-06-08].
11:19:18,044 INFO com.andromas.bgp.StdOutErrLog$1 23 <14...@qtp-5525185-28>
log4j:ERROR Failed to write [11:19:17,960 INFO com.andromas.bgp.StdOutErrLog$1
23 <14...@qtp-5525185-28> log4j:ERROR Failed to rename [./logs/andromas.log]
to [./logs/andromas.log.2012-06-08].
].
11:19:18,045 INFO com.andromas.bgp.StdOutErrLog$1 23 <14...@qtp-5525185-28>
log4j:ERROR Failed to write [11:19:18,045 INFO com.andromas.bgp.StdOutErrLog$1
23 <14...@qtp-5525185-28> log4j:ERROR Failed to write [11:19:17,960 INFO
com.andromas.bgp.StdOutErrLog$1 23 <14...@qtp-5525185-28> log4j:ERROR Failed
to rename [./logs/andromas.log] to [./logs/andromas.log.2012-06-08].
].
].
11:19:18,046 INFO com.andromas.bgp.StdOutErrLog$1 23 <14...@qtp-5525185-28>
log4j:ERROR Failed to write [11:19:18,046 INFO com.andromas.bgp.StdOutErrLog$1
23 <14...@qtp-5525185-28> log4j:ERROR Failed to write [11:19:18,045 INFO
com.andromas.bgp.StdOutErrLog$1 23 <14...@qtp-5525185-28> log4j:ERROR Failed
to write [11:19:17,960 INFO com.andromas.bgp.StdOutErrLog$1 23
<14...@qtp-5525185-28> log4j:ERROR Failed to rename [./logs/andromas.log] to
[./logs/andromas.log.2012-06-08].
].
].
].
11:19:18,047 INFO com.andromas.bgp.StdOutErrLog$1 23 <14...@qtp-5525185-28>
log4j:ERROR Failed to write [11:19:18,046 INFO com.andromas.bgp.StdOutErrLog$1
23 <14...@qtp-5525185-28> log4j:ERROR Failed to write [11:19:18,046 INFO
com.andromas.bgp.StdOutErrLog$1 23 <14...@qtp-5525185-28> log4j:ERROR Failed
to write [11:19:18,045 INFO com.andromas.bgp.StdOutErrLog$1 23
<14...@qtp-5525185-28> log4j:ERROR Failed to write [11:19:17,960 INFO
com.andromas.bgp.StdOutErrLog$1 23 <14...@qtp-5525185-28> log4j:ERROR Failed
to rename [./logs/andromas.log] to [./logs/andromas.log.2012-06-08].
].
].
].
].
11:19:18,047 INFO com.andromas.bgp.StdOutErrLog$1 23 <14...@qtp-5525185-28>
log4j:ERROR Failed to write [11:19:18,047 INFO com.andromas.bgp.StdOutErrLog$1
23 <14...@qtp-5525185-28> log4j:ERROR Failed to write [11:19:18,046 INFO
com.andromas.bgp.StdOutErrLog$1 23 <14...@qtp-5525185-28> log4j:ERROR Failed
to write [11:19:18,046 INFO com.andromas.bgp.StdOutErrLog$1 23
<14...@qtp-5525185-28> log4j:ERROR Failed to write [11:19:18,045 INFO
com.andromas.bgp.StdOutErrLog$1 23 <14...@qtp-5525185-28> log4j:ERROR Failed
to write [11:19:17,960 INFO com.andromas.bgp.StdOutErrLog$1 23
<14...@qtp-5525185-28> log4j:ERROR Failed to rename [./logs/andromas.log] to
[./logs/andromas.log.2012-06-08].
].
].
].
].
].
11:19:18,048 INFO com.andromas.bgp.StdOutErrLog$1 23 <14...@qtp-5525185-28>
log4j:ERROR Failed to write [11:19:18,048 INFO com.andromas.bgp.StdOutErrLog$1
23 <14...@qtp-5525185-28> log4j:ERROR Failed to write [11:19:18,047 INFO
com.andromas.bgp.StdOutErrLog$1 23 <14...@qtp-5525185-28> log4j:ERROR Failed
to write [11:19:18,046 INFO com.andromas.bgp.StdOutErrLog$1 23
<14...@qtp-5525185-28> log4j:ERROR Failed to write [11:19:18,046 INFO
com.andromas.bgp.StdOutErrLog$1 23 <14...@qtp-5525185-28> log4j:ERROR Failed
to write [11:19:18,045 INFO com.andromas.bgp.StdOutErrLog$1 23
<14...@qtp-5525185-28> log4j:ERROR Failed to write [11:19:17,960 INFO
com.andromas.bgp.StdOutErrLog$1 23 <14...@qtp-5525185-28> log4j:ERROR Failed
to rename [./logs/andromas.log] to [./logs/andromas.log.2012-06-08].
].
].
].
].
].
].
11:19:18,049 INFO com.andromas.bgp.StdOutErrLog$1 23 <14...@qtp-5525185-28>
log4j:ERROR Failed to write [11:19:18,049 INFO com.andromas.bgp.StdOutErrLog$1
23 <14...@qtp-5525185-28> log4j:ERROR Failed to write [11:19:18,048 INFO
com.andromas.bgp.StdOutErrLog$1 23 <14...@qtp-5525185-28> log4j:ERROR Failed
to write [11:19:18,047 INFO com.andromas.bgp.StdOutErrLog$1 23
<14...@qtp-5525185-28> log4j:ERROR Failed to write [11:19:18,046 INFO
com.andromas.bgp.StdOutErrLog$1 23 <14...@qtp-5525185-28> log4j:ERROR Failed
to write [11:19:18,046 INFO com.andromas.bgp.StdOutErrLog$1 23
<14...@qtp-5525185-28> log4j:ERROR Failed to write [11:19:18,045 INFO
com.andromas.bgp.StdOutErrLog$1 23 <14...@qtp-5525185-28> log4j:ERROR Failed
to write [11:19:17,960 INFO com.andromas.bgp.StdOutErrLog$1 23
<14...@qtp-5525185-28> log4j:ERROR Failed to rename [./logs/andromas.log] to
[./logs/andromas.log.2012-06-08].
].
].
].
].
].
].
].
11:19:18,051 INFO com.andromas.bgp.StdOutErrLog$1 23 <14...@qtp-5525185-28>
log4j:ERROR Failed to write [11:19:18,050 INFO com.andromas.bgp.StdOutErrLog$1
23 <14...@qtp-5525185-28> log4j:ERROR Failed to write [11:19:18,049 INFO
com.andromas.bgp.StdOutErrLog$1 23 <14...@qtp-5525185-28> log4j:ERROR Failed
to write [11:19:18,048 INFO com.andromas.bgp.StdOutErrLog$1 23
<14...@qtp-5525185-28> log4j:ERROR Failed to write [11:19:18,047 INFO
com.andromas.bgp.StdOutErrLog$1 23 <14...@qtp-5525185-28> log4j:ERROR Failed
to write [11:19:18,046 INFO com.andromas.bgp.StdOutErrLog$1 23
<14...@qtp-5525185-28> log4j:ERROR Failed to write [11:19:18,046 INFO
com.andromas.bgp.StdOutErrLog$1 23 <14...@qtp-5525185-28> log4j:ERROR Failed
to write [11:19:18,045 INFO com.andromas.bgp.StdOutErrLog$1 23
<14...@qtp-5525185-28> log4j:ERROR Failed to write [11:19:17,960 INFO
com.andromas.bgp.StdOutErrLog$1 23 <14...@qtp-5525185-28> log4j:ERROR Failed
to rename [./logs/andromas.log] to [./logs/andromas.log.2012-06-08].
].
].
].
].
].
].
].
].
11:19:18,052 INFO com.andromas.bgp.StdOutErrLog$1 23 <14...@qtp-5525185-28>
log4j:ERROR Failed to write [11:19:18,051 INFO com.andromas.bgp.StdOutErrLog$1
23 <14...@qtp-5525185-28> log4j:ERROR Failed to write [11:19:18,050 INFO
com.andromas.bgp.StdOutErrLog$1 23 <14...@qtp-5525185-28> log4j:ERROR Failed
to write [11:19:18,049 INFO com.andromas.bgp.StdOutErrLog$1 23
<14...@qtp-5525185-28> log4j:ERROR Failed to write [11:19:18,048 INFO
com.andromas.bgp.StdOutErrLog$1 23 <14...@qtp-5525185-28> log4j:ERROR Failed
to write [11:19:18,047 INFO com.andromas.bgp.StdOutErrLog$1 23
<14...@qtp-5525185-28> log4j:ERROR Failed to write [11:19:18,046 INFO
com.andromas.bgp.StdOutErrLog$1 23 <14...@qtp-5525185-28> log4j:ERROR Failed
to write [11:19:18,046 INFO com.andromas.bgp.StdOutErrLog$1 23
<14...@qtp-5525185-28> log4j:ERROR Failed to write [11:19:18,045 INFO
com.andromas.bgp.StdOutErrLog$1 23 <14...@qtp-5525185-28> log4j:ERROR Failed
to write [11:19:17,960 INFO com.andromas.bgp.StdOutErrLog$1 23
<14...@qtp-5525185-28> log4j:ERROR Failed to rename [./logs/andromas.log] to
[./logs/andromas.log.2012-06-08].
].
].
].
].
].
].
].
].
].
11:19:18,053 INFO com.andromas.bgp.StdOutErrLog$1 23 <14...@qtp-5525185-28>
log4j:ERROR Failed to write [11:19:18,052 INFO com.andromas.bgp.StdOutErrLog$1
23 <14...@qtp-5525185-28> log4j:ERROR Failed to write [11:19:18,051 INFO
com.andromas.bgp.StdOutErrLog$1 23 <14...@qtp-5525185-28> log4j:ERROR Failed
to write [11:19:18,050 INFO com.andromas.bgp.StdOutErrLog$1 23
<14...@qtp-5525185-28> log4j:ERROR Failed to write [11:19:18,049 INFO
com.andromas.bgp.StdOutErrLog$1 23 <14...@qtp-5525185-28> log4j:ERROR Failed
to write [11:19:18,048 INFO com.andromas.bgp.StdOutErrLog$1 23
<14...@qtp-5525185-28> log4j:ERROR Failed to write [11:19:18,047 INFO
com.andromas.bgp.StdOutErrLog$1 23 <14...@qtp-5525185-28> log4j:ERROR Failed
to write [11:19:18,046 INFO com.andromas.bgp.StdOutErrLog$1 23
<14...@qtp-5525185-28> log4j:ERROR Failed to write [11:19:18,046 INFO
com.andromas.bgp.StdOutErrLog$1 23 <14...@qtp-5525185-28> log4j:ERROR Failed
to write [11:19:18,045 INFO com.andromas.bgp.StdOutErrLog$1 23
<14...@qtp-5525185-28> log4j:ERROR Failed to write [11:19:17,960 INFO
com.andromas.bgp.StdOutErrLog$1 23 <14...@qtp-5525185-28> log4j:ERROR Failed
to rename [./logs/andromas.log] to [./logs/andromas.log.2012-06-08].
].
].
].
].
].
].
].
].
].
].
11:19:18,054 INFO com.andromas.bgp.StdOutErrLog$1 23 <14...@qtp-5525185-28>
log4j:ERROR Failed to write [11:19:18,054 INFO com.andromas.bgp.StdOutErrLog$1
23 <14...@qtp-5525185-28> log4j:ERROR Failed to write [11:19:18,052 INFO
com.andromas.bgp.StdOutErrLog$1 23 <14...@qtp-5525185-28> log4j:ERROR Failed
to write [11:19:18,051 INFO com.andromas.bgp.StdOutErrLog$1 23
<14...@qtp-5525185-28> log4j:ERROR Failed to write [11:19:18,050 INFO
com.andromas.bgp.StdOutErrLog$1 23 <14...@qtp-5525185-28> log4j:ERROR Failed
to write [11:19:18,049 INFO com.andromas.bgp.StdOutErrLog$1 23
<14...@qtp-5525185-28> log4j:ERROR Failed to write [11:19:18,048 INFO
com.andromas.bgp.StdOutErrLog$1 23 <14...@qtp-5525185-28> log4j:ERROR Failed
to write [11:19:18,047 INFO com.andromas.bgp.StdOutErrLog$1 23
<14...@qtp-5525185-28> log4j:ERROR Failed to write [11:19:18,046 INFO
com.andromas.bgp.StdOutErrLog$1 23 <14...@qtp-5525185-28> log4j:ERROR Failed
to write [11:19:18,046 INFO com.andromas.bgp.StdOutErrLog$1 23
<14...@qtp-5525185-28> log4j:ERROR Failed to write [11:19:18,045 INFO
com.andromas.bgp.StdOutErrLog$1 23 <14...@qtp-5525185-28> log4j:ERROR Failed
to write [11:19:17,960 INFO com.andromas.bgp.StdOutErrLog$1 23
<14...@qtp-5525185-28> log4j:ERROR Failed to rename [./logs/andromas.log] to
[./logs/andromas.log.2012-06-08].
].
].
].
].
].
].
].
].
].
].
].
11:19:18,056 INFO com.andromas.bgp.StdOutErrLog$1 23 <14...@qtp-5525185-28>
log4j:ERROR Failed to write [11:19:18,055 INFO com.andromas.bgp.StdOutErrLog$1
23 <14...@qtp-5525185-28> log4j:ERROR Failed to write [11:19:18,054 INFO
com.andromas.bgp.StdOutErrLog$1 23 <14...@qtp-5525185-28> log4j:ERROR Failed
to write [11:19:18,052 INFO com.andromas.bgp.StdOutErrLog$1 23
<14...@qtp-5525185-28> log4j:ERROR Failed to write [11:19:18,051 INFO
com.andromas.bgp.StdOutErrLog$1 23 <14...@qtp-5525185-28> log4j:ERROR Failed
to write [11:19:18,050 INFO com.andromas.bgp.StdOutErrLog$1 23
<14...@qtp-5525185-28> log4j:ERROR Failed to write [11:19:18,049 INFO
com.andromas.bgp.StdOutErrLog$1 23 <14...@qtp-5525185-28> log4j:ERROR Failed
to write [11:19:18,048 INFO com.andromas.bgp.StdOutErrLog$1 23
<14...@qtp-5525185-28> log4j:ERROR Failed to write [11:19:18,047 INFO
com.andromas.bgp.StdOutErrLog$1 23 <14...@qtp-5525185-28> log4j:ERROR Failed
to write [11:19:18,046 INFO com.andromas.bgp.StdOutErrLog$1 23
<14...@qtp-5525185-28> log4j:ERROR Failed to write [11:19:18,046 INFO
com.andromas.bgp.StdOutErrLog$1 23 <14...@qtp-5525185-28> log4j:ERROR Failed
to write [11:19:18,045 INFO com.andromas.bgp.StdOutErrLog$1 23
<14...@qtp-5525185-28> log4j:ERROR Failed to write [11:19:17,960 INFO
com.andromas.bgp.StdOutErrLog$1 23 <14...@qtp-5525185-28> log4j:ERROR Failed
to rename [./logs/andromas.log] to [./logs/andromas.log.2012-06-08].
].
].
].
].
].
].
].
].
].
].
--
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
[Bug 53392] Rolling file cannot be written, suspecting infinite loop
with log4j 1.2.16
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53392
grobmeier <gr...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
OS| |All
--- Comment #1 from grobmeier <gr...@gmail.com> ---
What operating system are you using? Are the file permissions set correctly?
Thanks!
--
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
[Bug 53392] Rolling file cannot be written, suspecting infinite loop
with log4j 1.2.16
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53392
unger@andromas.com changed:
What |Removed |Added
----------------------------------------------------------------------------
OS| |All
--- Comment #2 from unger@andromas.com ---
File permissions are ok (it rolled the file the previous day correctly, but not
that day).
It did well the day after again.
Platform is Windows7
--
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
[Bug 53392] Rolling file cannot be written, suspecting infinite loop
with log4j 1.2.16
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53392
unger@andromas.com changed:
What |Removed |Added
----------------------------------------------------------------------------
OS|All |Windows 7
--
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
[Bug 53392] Rolling file cannot be written, suspecting infinite loop
with log4j 1.2.16
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53392
unger@andromas.com changed:
What |Removed |Added
----------------------------------------------------------------------------
OS|All |Windows 7
--
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