07, Mikael Ståldal <[EMAIL PROTECTED]> wrote:
Norbert Toth-Gati wrote:
> You may try to configure the following categories:
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
It do
Hi Mikael,
You may try to configure the following categories:
You may need to configure all the thirdparty logs to end up in the following
appenders:
Hope that hel
Hi,
A good approach as you said, would be to extend the appender you need.
Regards,
Norbert
On 9/18/06, kingwell <[EMAIL PROTECTED]> wrote:
Hi all,
I want to define the log file name pattern like mmdd-mylog.log, how to
do so using log4j?
As the DailyRollingFileAppender is just append the
And how can I check the networking and call the suitable appender
without writing my own appender?
This is implementation decision.
Is there any possibility to make this
ckeck from log4j configuration (properties or xml file)?
I don't know of any
Or maybe I can catch the exception of Soc
Hi,
a possible solution for not lossing messages in case of LAN being down would
be to use an other appender (FileAppender) in such cases. Either you check
if there is network connection and continue as usually, if there is, or use
a FileAppender in case of a problem, either you subclass the need
& Regards,
Kailash.K.N.
# 71, 4th Floor,
Sona Towers, Miller's Road,
Bangalore - 560 052
email : [EMAIL PROTECTED]
Ph : +91-9886634958
+91-80-41327370
URL: www.thbs.com
- Original Message -
From: "Norbert Toth-Gati" <[EMAIL PROTECTED]>
To: "Log4J User
I think this is not supported yet by log4j version 1.2.x, so you should
create your own implementation, extending RollingFileAppender.
Regards
Norbert
On 5/18/06, Kailash KN <[EMAIL PROTECTED]> wrote:
Hi,
Attached is the log4j.xml document, in which the name of the debug file is
"*debug.log*"
Just simply use:
Regards,
Norbert
On 5/9/06, ks <[EMAIL PROTECTED]> wrote:
I use log4j.xml to log to file as bellow. How can I log to a file in a
directory called "folder" which is a sublevel below default. The below
code
only create a file called "folder.workshop_test.log" and not creatin
Hi,
Is there a possibility to set the rolling of a file at a given hour, for ex.
at 15:00 hours?
Is this feature supported already?
Thanks in advance,
Norbert
using Eclipse and the LOG.debug statement is
> executed... I'm running this code from within a servlet...?
>
> if( LOG.isDebugEnabled() ) {
> LOG.debug( "SendSMS.sar: The mediaURL is " + mediaURL );
> }
>
> -Original Message-
> From: Norber
Hi Rob,
you should specifiy the File property as one of the following:
log4j.appender.A1.File=c:/SMSTest.log
or
log4j.appender.A1.File=c:\\SMSTest.log
This is a specific problem for MS Windows platform.
Regards,
Norbert
On 4/6/06, Rob Elliott <[EMAIL PROTECTED]> wrote:
> Here is my properties f
Hi,
so it is not overwritten.
I found a thread earlier discussing this problem,
"
>From "jerome moliere" <[EMAIL PROTECTED]>
Subject Re: Log File Name !!
DateWed, 23 Feb 2005 13:33:56 GMT
> I think RollingFileAppender does that except that it does it by size,
> not by run.
You should try to break down the big log file into different log
files, which will save messages for a specific category - these may be
groupped by packages, or the way you think it will make more sense.
You may not need a cool book that teaches it, you have to figure it
out which log messages mak
Hi Kameron,
In case you are using an application server with your system, I would
suggest you place your log4j configuration file in the app. servers
configuration directory. For example, in case of using JBoss, you may
place it jboss-4.0.1sp1\server\..\conf directory.
Hope that helps,
Norbert
O
14 matches
Mail list logo