Configure Appender Programatically

2010-04-29 Thread Bryant, Thomas J - St Louis, MO
I am getting a warning with this code that I don't undrstand. I have set the appender file but it complains that I haven't and doesn't create the log. Is there something I am doing wrong? import java.io.File; import java.io.IOException; import org.apache.log4j.DailyRollingFileAppender; import

Re: Need to send log from multiple clients to different log files

2010-04-29 Thread EDH
Did you find out how to do this ? If yes can you share please ? Thanks, EDH - To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-user-h...@logging.apache.org

Log file not rotating

2010-04-29 Thread Kannan.N
Hi, Am using log 4j 1.2.15 and I have processes are running as a service. If i restart a service the logs files are not rotated. Kindly help me on solving the issue. Thanks in Advance. Kannan.N. -- View this message in context: http://old.nabble.com/Log-file-not-rotating-tp28401107p28401107.ht

Log file not rotating

2010-04-29 Thread Kannan.N
Hi, Am using log 4j 1.2.15 and I have processes are running as a service. If i restart a service the logs files are not rotated. Kindly help me on solving the issue. Thanks in Advance. Kannan.N. -- View this message in context: http://old.nabble.com/Log-file-not-rotating-tp28401171p28401171.ht

RE: Log file not rotating

2010-04-29 Thread Reddy, Ramachandra
I use this and it works fine. -Original Message- From: Kannan.N [mailto:kanna...@cisco.com] Sent: Thursday, April 29, 2010 10:14 AM To: log4j-user@logging.apa

RE: Log file not rotating

2010-04-29 Thread Kannan.N
am using log4j.properties for configurations. It was working fine but rotation only not happening after restarted that service. Reddy, Ramachandra-2 wrote: > > I use this and it works fine. > > > > > > > >