On Jan 2, 2007, at 12:04 PM, Eric Kolotyluk wrote:
I found a few articles on the web which claimed that UTC time
formatting
would be supported in log4j 1.3, and could be used in a form like
%d{.MM.dd HH:mm:ss,SSS}{GMT}
or
%d{.MM.dd HH:mm:ss,SSS}{UTC}
I'm using log4j
Hi everyone... Has anyone else configured Log4J and SyslogAppender
for MacOSX 10.4, and if so, what did you have to do in particular to
get Syslog to accept logs? I'm fairly certain my Log4J configuration
(see below) is setup ok, however, I'm not certain my syslog is. I
read in the manpag
Ok, now I see, it seems you are using a custom Appender called
translogfile
here is an example of how a custom appender would have a log4j.properties
file setup
Steps
1) Import required classes:
import org.apache.log4j.AppenderSkeleton;
import org.apache.log4j.spi.LoggingEvent;
2) Declare y
I see:
log4j.appender.lf5Rolling.File=example_lf5.log
as an example of setting up a log file, and the time stamp would be appended
based on the DatePattern. But cannot see "
log4j.appender.translogfile.scheduledFilename" as a key
-Kamal.
-Original Message-
From: venkat_74 [mailto:[EMAIL
> Hi dirk,
>
> Thanks for your reply, it was useful.
> But when I was trying to set the file name for the lastest file using
> log4j.appender.translogfile.scheduledFilename=somename
> it reports no such property when my server is started, what am I missing
> here.
>
> Meena
>
>
> AFAIK, you
On Wednesday 03 January 2007 22:02, venkat_74 wrote:
> Hi all,
> I am new to log4j and my application uses DailyRollingFileAppender with
> daily rollback, will this configuration retain the files from previous
> days. If so, how many I can have it at the max. What is the default
> availability. Can
Hi all,
I am new to log4j and my application uses DailyRollingFileAppender with
daily rollback, will this configuration retain the files from previous days.
If so, how many I can have it at the max. What is the default availability.
Can I configure that also.
Any suggestions welcome
Thanks for you
How about trying to compile with JDK or JRE 1.5.0_06
-Kamal.
-Original Message-
From: Al Niessner [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 03, 2007 3:12 PM
To: log4j-user@logging.apache.org
Subject: Problems with gcj
I am trying to build up a standalone executable with gcj 4.1
I am trying to build up a standalone executable with gcj 4.1.0. I am in
the process of building all of the JAR files that I include in my
classpath when I do a 'java -cp ... MyClass' where 'java -version' gives
me:
java version "1.4.2_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.
Pankaj,
Here is an example of two files
log4j.rootLogger=DEBUG, rolling
log4j.logger.QA_Logger=DEBUG, flogger,consoleapp
log4j.additivity.QA_Logger=false
log4j.appender.rolling=org.apache.log4j.RollingFileAppender
log4j.appender.rolling.File=log/root1.log
log4j.appender.rolling.layo
It's working, thank you
-Original Message-
From: Jacob Kjome [mailto:[EMAIL PROTECTED]
Sent: January 3, 2007 12:54 PM
To: Log4J Users List
Subject: RE: Undeploying problem with Tomcat 5.5 and Log4J
Quoting "Gilbert, Antoine" <[EMAIL PROTECTED]>:
> Does calling the shutdown() method will
Quoting "Gilbert, Antoine" <[EMAIL PROTECTED]>:
> Does calling the shutdown() method will cause problems to the other Web
> apps using Log4j within the Tomcat instance ?
Depends where Log4j.jar is. If it is in WEB-INF/lib, then definitely no. If it
is in common/lib and don't use a repository se
Does calling the shutdown() method will cause problems to the other Web
apps using Log4j within the Tomcat instance ?
-Original Message-
From: Jacob Kjome [mailto:[EMAIL PROTECTED]
Sent: January 3, 2007 11:37 AM
To: Log4J Users List
Subject: Re: Undeploying problem with Tomcat 5.5 and Log
Do you call LogManager.shutdown() in the shutdown method of a
ServletContextListener? If not, do so and try again.
Jake
Quoting "Gilbert, Antoine" <[EMAIL PROTECTED]>:
> Hi list
>
>
>
> I deploy an application WAR on a Tomcat 5.5 instance. This application
> use Log4j (via commons-logging) and
Hi list
I deploy an application WAR on a Tomcat 5.5 instance. This application
use Log4j (via commons-logging) and create some logs in a file within
the related Web app directory (/webapps/myWebApp). The file is defined
by a file appender tag in my log4j.xml file.
The problem is when I unde
15 matches
Mail list logo