Re: How configure the categories for console, logFile and htmlFile showing different levels

2006-09-19 Thread David
Dear Javier Gonzalez, Thanks for the reply. I have tested not adding the additivity condition, but the I get a repeated messages on one of the outputs. Other guy from the list, tell that what I want is not possible with a properties file configuration, I have to use XML configuration.

Re: How configure the categories for console, logFile and htmlFile showing different levels

2006-09-19 Thread Javier Gonzalez
On 9/13/06, David <[EMAIL PROTECTED]> wrote: I am using categories, but I can't find the appropiate combination for that. I expect the following configuration should work: log4j.rootCategory=DEBUG, logFile, htmlLogFile, console # com.schinvest is my application log4j.additivity.com.schi

RE: How configure the categories for console, logFile and htmlFile showing different levels

2006-09-18 Thread Jacob Kjome
Quoting David <[EMAIL PROTECTED]>: > Dear Jacob, > > Thanks for your comments, I have addes this new features on Bugzilla: > > http://issues.apache.org/bugzilla/show_bug.cgi?id=40532 > Like I said, I doubt this will get into Log4j-1.2.xx unless you provide a patch that doesn't break existing

RE: How configure the categories for console, logFile and htmlFile showing different levels

2006-09-18 Thread David
Dear Jacob, Thanks for your comments, I have addes this new features on Bugzilla: http://issues.apache.org/bugzilla/show_bug.cgi?id=40532 About your suggestions, I have a general idea about what you mean in order to specify the oposite situation (so, limit my classes and for oth

RE: How configure the categories for console, logFile and htmlFile showing different levels

2006-09-17 Thread Jacob Kjome
At 07:19 PM 9/17/2006, you wrote: Dear Bender, Thanks four your xml sample now it works as I expect, on the attached file you will find it. Nevertheless I have some comments, I am not log4j expert, but I guess the syntax could be simplified, and probably it is possible: 1. With your sugge

RE: How configure the categories for console, logFile and htmlFile showing different levels

2006-09-17 Thread David
Dear Bender,   Thanks four your xml sample now it works as I expect, on the attached file you will find it.   Nevertheless I have some comments, I am not log4j expert, but I guess the syntax could be simplified, and probably it is possible:   1. With your suggestion, I have to specify explici

RE: How configure the categories for console, logFile and htmlFile showing different levels

2006-09-14 Thread Bender Heri
Here is an example of an xml configuration which uses filters (BTW: Using this two appenders when debugging in eclipse the console shows the DEBUG and INFO in black color and the others in red color). You can also write your own filter class where you are free to filter what you want. Be carefu

Re: How configure the categories for console, logFile and htmlFile showing different levels

2006-09-14 Thread David
Dear Bender, I usually use *.properties file, I thought that both format are equivalent, but folliwing your reply, that is not true, so with *.xml format you can configure in more detail. Please you send me a more detailed example about how to solve my problem?, Thanks for your