B
bigbinc
Is log4j really thread safe. I have an object that contains a thread,
the thread contains log4j logging code, when I kill the object and
kill the thread....and then restart the thread, it seems like the
thread is still active because log4j is still logging for the dead
thread? Has anyone had this problem? Is it my threading or log4j.
My thread just has a run()
while(running) {
}
and when I kill threads, start threads, log4j prints information from
20-30 dead threads, even though I should have 1 - 2 open.
the thread contains log4j logging code, when I kill the object and
kill the thread....and then restart the thread, it seems like the
thread is still active because log4j is still logging for the dead
thread? Has anyone had this problem? Is it my threading or log4j.
My thread just has a run()
while(running) {
}
and when I kill threads, start threads, log4j prints information from
20-30 dead threads, even though I should have 1 - 2 open.