Kindly please let me know all the fields that can be put in the
log4j.properties file.
Thanks
--
View this message in context:
http://www.nabble.com/Various-fields-in-log4j.properties-tp17120176p17120176.html
Sent from the Log4j - Users mailing list archive at Nabble.com.
---
On May 7, 2008, at 10:22 AM, Tasso Angelidis wrote:
Hi, I'm currently working on a custom level and logger to send my
operations team an e-mail when an error occurs or when an operation
log is explicitely written. For instance: logger.operations("Server
was shutdown manually.");
If I cal
Hi, I'm currently working on a custom level and logger to send my operations
team an e-mail when an error occurs or when an operation log is explicitely
written. For instance: logger.operations("Server was shutdown manually.");
If I call logger.error("...") The log is recorded in my error log an
I changed the entry in the batch file starting the application to:
java -Dlog4j.configuration=file:./log4j.properties -jar myapp.jar
(See the ./ between the file: and log4j.properties?)
I seem not to be able to start the application double clicking the jar
file AND using the log system at the sa
Hi,
The application I created uses log4j to log states to a log file. As the
application should run on either Windows or Unix, and either slow, or full
blast (debugging) I had to remove the properties file from the executable
jar file and to the directory that same executable jar file is stored.
Oh. Thanks a lot for the clarification.
--Katy
-Original Message-
From: Maarten Bosteels [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 07, 2008 11:08 AM
To: Log4J Users List
Subject: Re: How can I combine using DailyRollingFileAppender with some sort of
limit on file size?
This is my
This is my own code. We're using it in production without any trouble.
You should combine it with the org.apache.log4j.rolling.RollingFileAppender
from the extras.
It *is* actually the option described by Curt Arnold :-)
Your question has been asked multiple times in the past.
It's unfortunate t
Thanks!
Is this your own code or the one from
org.apache.log4j.rolling.RollingFileAppender in the extras companion ? I'm
currently looking at the options there, as suggested by Curt Arnold [EMAIL
PROTECTED] in reply to my question.
--Katy
-Original Message-
From: Maarten Bosteels [ma
Hello,
Here you go :
import org.apache.log4j.helpers.OptionConverter;
import org.apache.log4j.Appender;
import org.apache.log4j.rolling.TriggeringPolicy;
import org.apache.log4j.spi.LoggingEvent;
import org.apache.log4j.spi.OptionHandler;
/**
* Copy of org.apache.log4j.rolling.SizeBasedTriggeri
Thanks! I'll look at the new class.
--Katy
-Original Message-
From: Curt Arnold [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 07, 2008 9:54 AM
To: Log4J Users List
Subject: Re: How can I combine using DailyRollingFileAppender with some sort of
limit on file size?
On May 7, 2008, at 1
10 matches
Mail list logo