Re: Create multiple appenders objects

2007-10-15 Thread Julio S. G.
Great! Now it's working. I've made some changes, like add both appenders to root logger and keep some unusual names but I think that it's what I need. Thanks a lot. Julio On 10/11/07, Curt Arnold <[EMAIL PROTECTED]> wrote: > > On Oct 11, 2007, at 6:46 PM, Julio S. G. wrote: > >> On 10/11/07, Juli

Re: Create multiple appenders objects

2007-10-11 Thread Curt Arnold
On Oct 11, 2007, at 6:46 PM, Julio S. G. wrote: On 10/11/07, Julio S. G. <[EMAIL PROTECTED]> wrote: Hi, I'm trying to create several appenders and unfortunately it's not working. To create the objects I'm using something like new DailyRollingFileAppender() with corrects parameters. Then I

Re: Create multiple appenders objects

2007-10-11 Thread Julio S. G.
Sure... I forgot to write it in the code. But... It's still not working. [OT] And in fact, I can't use a config file because the real code is to load Spring configuration files and handle with a web application creating differents paths dynamically according to request parameters. But my "only" pr

Re: Create multiple appenders objects

2007-10-11 Thread James A. N. Stauffer
When creating appenders programatically you need to do something like calling activateOptions(). You will probably find that using a config file works much better. On 10/11/07, Julio S. G. <[EMAIL PROTECTED]> wrote: > Hi, > > I'm trying to create several appenders and unfortunately it's not worki

Create multiple appenders objects

2007-10-11 Thread Julio S. G.
Hi, I'm trying to create several appenders and unfortunately it's not working. To create the objects I'm using something like new DailyRollingFileAppender() with corrects parameters. Then I create the Logger using the appender name. Finally, when I use the Logger object to write, it doesn't work.