Yes, you just need to set the Threshold on each appender to the desired level and assign both of them to the root logger.
On 7/20/05, Ricardo Lopes <[EMAIL PROTECTED]> wrote: > Hi, > > Can anybody tell me how can i have on the same logger (ex. > log4j.rootLogger) two different appenders, one for level ERROR or higher > that is a ConsoleAppender and the other for level INFO or higher that is > a FileAppender? > > Is it possible? > > Thanks, > Ricardo Lopes. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Javier Gonzalez Nicolini --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
