Julius Davies wrote:
On Tue, Jun 10, 2008 at 10:41 PM, Lilianne E. Blaze
<[EMAIL PROTECTED]> wrote:
Hello,
One more thing - why should "A Log Rotation Best Practice That Is Currently
Not Possible" be impossible?
Either
1) Implement it extending rolling file appender. Should be reasonably eas
: Sun 6/15/2008 7:28 AM
To: Log4J Users List
Subject: Re: log4j best practises
Hi Julius,
My 2cents from mostly a "let's help the support staff" view:
-The Wabbit
>> Greppable Logs
>> [+ Separate files of different areas of interest]
To me this eliminates a whole wo
Hi Julius,
My 2cents from mostly a "let's help the support staff" view:
-The Wabbit
>> Greppable Logs
>> [+ Separate files of different areas of interest]
To me this eliminates a whole world of log diagnostic tools.
Limiting support tools to 'grep' makes sense of very controlled
applications on
ore than likely guilty of all 3!
Cheers,
J.
-Original Message-----
From: Julius Davies [mailto:[EMAIL PROTECTED]
Sent: 06 June 2008 05:28
To: log4j-user@logging.apache.org
Subject: log4j best practises
Here's a page of what I consider log4j best practises:
http://juliusdavies.ca/logg
giving an example of the XML format of the log4j configuration file
as well.
Thanks again.
Richard J. Barbalace
> -Original Message-
> From: Julius Davies [mailto:[EMAIL PROTECTED]
> To: Log4J Users List
> Subject: log4j best practises
>
> Here's a page of what I
On Jun 11, 2008, at 12:52 AM, Julius Davies wrote:
On Tue, Jun 10, 2008 at 10:41 PM, Lilianne E. Blaze
<[EMAIL PROTECTED]> wrote:
Hello,
One more thing - why should "A Log Rotation Best Practice That Is
Currently
Not Possible" be impossible?
Either
1) Implement it extending rolling file ap
>if(logger.isDebugEnabled()) {
> logger.debug("Entry number: " + i + " is " + String.valueOf(entry[i])); }
>Personally, I think that is an absolute abomination, and a major failure
>of the logging framework / Java combination.
It certainly makes the code ugly. If I am going to use an "isDebugEna
On Tue, Jun 10, 2008 at 10:41 PM, Lilianne E. Blaze
<[EMAIL PROTECTED]> wrote:
> Hello,
> One more thing - why should "A Log Rotation Best Practice That Is Currently
> Not Possible" be impossible?
>
> Either
> 1) Implement it extending rolling file appender. Should be reasonably easy.
> Disadvantag
Julius Davies wrote:
Here's a page of what I consider log4j best practises:
http://juliusdavies.ca/logging.html
Any comments are very welcome!
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, 11 June 2008 3:16 PM
To: Log4J Users List
Subject: Re: log4j best practises - logger.isDebugEnabled()
On Jun 10, 2008, at 11:42 PM, Peter Nann wrote:
>
> I am only a peripheral Log4J User, however my peers recently advised
> that all our logging
On Jun 10, 2008, at 11:42 PM, Peter Nann wrote:
I am only a peripheral Log4J User, however my peers recently advised
that all our
logging should be written like:
if(logger.isDebugEnabled()) {
logger.debug("Entry number: " + i + " is " +
String.valueOf(entry[i])); }
Personally, I think that
frameworks, make sure you use the best one! Or else
you might have to switch your "log generalization framework"!
(By the way, the best LGF doesn't show up until the year 2888, so I'm
not sure what we should do
e-
From: Lilianne E. Blaze [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 11 June 2008 2:05 PM
To: Log4J Users List
Subject: Re: log4j best practises
Hello,
Quite an useful text.
One thing I can't agree with:
"I recommend skipping the generalization if possible. You will have more
contro
Lilianne E. Balze
Julius Davies wrote:
Here's a page of what I consider log4j best practises:
http://juliusdavies.ca/logging.html
Any comments are very welcome!
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
NDC/MDC is on my "must learn about this" list. I haven't used them.
A quick read of the wiki has me suspecting that MDC's are more
generally applicable.
http://wiki.apache.org/logging-log4j/NDCvsMDC
On Tue, Jun 10, 2008 at 2:27 AM, Jason Irwin <[EMAIL PROTECTED]> wrote:
>>3. Best practices sho
>3. Best practices should include use of NDC.
Now, here's a question. Why NDC rather than MDC? And how do you decide
when one is more appropriate than the other?
J.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addition
ce.
>
> In the section entitled "Use Log4j", you mention various logging
> systems such as j.u.l, commons-logging and even logKit which
> practically no one uses anymore. Curiously enough, you did not mention
> SLF4J and logback. Was it because you were not aware that they
>
ck. Was it because you were not aware that they
existed, or was it some other reason?
Julius Davies wrote:
Here's a page of what I consider log4j best practises:
http://juliusdavies.ca/logging.html
Any comments are very welcome!
--
Ceki Gulcu
http://logback.qos.ch/
A generic, reliable,
On Jun 6, 2008, at 11:09 AM, Julius Davies wrote:
Hi, Douglas, Jason,
Jason - thanks for your feedback! I'll definitely incorporate some of
that, especially around what's appropriate for each level.
Douglas - it's not as bad as writing my own layout, but it will make
some people uncomfortabl
Hi, Douglas, Jason,
Jason - thanks for your feedback! I'll definitely incorporate some of
that, especially around what's appropriate for each level.
Douglas - it's not as bad as writing my own layout, but it will make
some people uncomfortable! Here's the trick for changing the level
strings:
lius Davies" <[EMAIL PROTECTED]> wrote on 06/06/2008 12:28:11 AM:
> Here's a page of what I consider log4j best practises:
>
> http://juliusdavies.ca/logging.html
>
>
> Any comments are very welcome!
>
>
> --
> yours,
>
> Ju
3!
Cheers,
J.
-Original Message-----
From: Julius Davies [mailto:[EMAIL PROTECTED]
Sent: 06 June 2008 05:28
To: log4j-user@logging.apache.org
Subject: log4j best practises
Here's a page of what I consider log4j best practises:
http://juliusdavies.ca/log
Here's a page of what I consider log4j best practises:
http://juliusdavies.ca/logging.html
Any comments are very welcome!
--
yours,
Julius Davies
250-592-2284 (Home)
250-893-4579 (Mobile)
http://juliusdavies.ca/
---
23 matches
Mail list logo