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 2003/10/01 23:21:33 UTC
DO NOT REPLY [Bug 23553] New: -
Program hangs because of log4j
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23553>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23553
Program hangs because of log4j
Summary: Program hangs because of log4j
Product: Log4j
Version: 1.2
Platform: HP
OS/Version: HP-UX
Status: NEW
Severity: Major
Priority: Other
Component: Other
AssignedTo: log4j-dev@jakarta.apache.org
ReportedBy: surjit321@yahoo.com
I have a UNIX perl scrip which calls a java program in a loop. The java
program just prints the arguments received from the perl. The UNIX perl
program invokes the java program in a loop for 100 times, then goes to sleep
and redoes the loop.
I have seen that quite often the java program doesn't return which makes the
perl program to hang. I am using Log4j version 1.2.8 in the java program to do
loggin. I see the last debug statement in the java program being printed in
the log file, but due to some reason sometimes the java program doesn't exit.
I modified the java program to have no logging and also to a version where I
was doing logging and put a System.exit at the end. These two versions never
got hung, but the original version of the java program gets hung.
Please let me know if this is a known problem in log4j or if you need more
info from me.
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-dev-help@jakarta.apache.org