log4j doesn't log files when a app is running on tomcat host

2006-10-24 Thread Adilson Dias da Silva
Hi, I and the fellows from the host admin are facing with a following situation: myApp doesn't create a log file whem running in the host's tomcat server (virtual host), but is OK whem running in a tomcat localhost. I have tested the same address used on log4j.xml, creating a file in the directory

Re: Log file per application execution

2006-10-24 Thread Curt Arnold
On Oct 24, 2006, at 3:25 AM, Chris Dillon wrote: Hi all, This is probably a newbie question but you know... "search and no luck" . There has been a recent thread on the log4j-dev list with the subject "Enhanced FileAppender" (http://marc.theaimsgroup.com/?l=log4j- dev&m=116051422231512&

Re: Multiple threads that log events to the same file concurrently

2006-10-24 Thread Curt Arnold
On Oct 24, 2006, at 3:59 AM, Cohen Oren (ICS) wrote: Thanks ! 1) Is there a reason why the buffer of the AsyncAppender is implemented as ArrayList and not LinkedList ? I don't believe there has been any performance testing related to the choice of List implementation in this instance.

RE: Multiple threads that log events to the same file concurrently

2006-10-24 Thread Cohen Oren \(ICS\)
Thanks ! 1) Is there a reason why the buffer of the AsyncAppender is implemented as ArrayList and not LinkedList ? 2) I tried to ran on log4j 1.2.14 with the following configuration, and got a NullPointerException (see below). If my LocationInfo was set to "false", why did the Dispatcher get into

Log file per application execution

2006-10-24 Thread Chris Dillon
Hi all, This is probably a newbie question but you know... "search and no luck" . Part of our application is a Swing based client, ie the user can launch it any number of time during the day. We'de like to have a log file per execution. Currently we using the DailyRollingFileAppender and as such