> i am new to log4J. i am using  2 types of Appenders  one is 
> JDBC Appender
> and second one is File . And i have different categories.
> 
> my doubt is how can i set the priority for category based on 
> the Appender.
> 
> for example: For a category  com.foo.Abc I want to log the messages in
> Database and file. But for Database the priority should be 
> Debug. And For
> the Appender File the priority should be Error.
> 
> Can any body help me how to prepare the configuration file.

You need to set the Threshold for the appenders - the documentation
should show you how to do that (at least, the PropertiesConfigurator one
does).

Jon

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to