Separate log files (tomcat, hibernate, wicket, etc)

2011-05-06 Thread Henrique Boregio
Hi, I've been searching for a simple way to do this but if I've only found over-complicated tutorials. I am trying to setup my lo4j properties file to do something like: everything wicket -- wicket.log everything hibernate -- hibernate.log everything my_web_app -- my_app.log everything tomcat --

Re: Separate log files (tomcat, hibernate, wicket, etc)

2011-05-06 Thread James Carman
This is a LOG4J question, not a wicket one. On Fri, May 6, 2011 at 9:38 AM, Henrique Boregio hbore...@gmail.com wrote: Hi, I've been searching for a simple way to do this but if I've only found over-complicated tutorials. I am trying to setup my lo4j properties file to do something like:

Re: Separate log files (tomcat, hibernate, wicket, etc)

2011-05-06 Thread Henrique Boregio
It asks how to redirect all of wicket logging to a separate log file other then the application's log file. So, this is a wicket question. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands,

Re: Separate log files (tomcat, hibernate, wicket, etc)

2011-05-06 Thread nino martinez wael
Just use different appenders for the different files. However do you know howto get tomcats std out log rolled, without configuring juli or using something like logrotate? Im surprised its not done by default tomcat 7 On May 6, 2011 4:20 PM, Henrique Boregio hbore...@gmail.com wrote: It asks how

Re: Separate log files (tomcat, hibernate, wicket, etc)

2011-05-06 Thread James Carman
Well, since you're asking about a specific logging provider (log4j), then it's a log4j question. On Fri, May 6, 2011 at 10:20 AM, Henrique Boregio hbore...@gmail.com wrote: It asks how to redirect all of wicket logging to a separate log file other then the application's log file. So, this is a

Re: Separate log files (tomcat, hibernate, wicket, etc)

2011-05-06 Thread Martin Grigorov
I think it is a question to Oracle since all of the technologies are Java based :-) @Henrique, Nino: indeed this is Log4J question. On Fri, May 6, 2011 at 4:33 PM, James Carman ja...@carmanconsulting.com wrote: Well, since you're asking about a specific logging provider (log4j), then it's a

Re: Separate log files (tomcat, hibernate, wicket, etc)

2011-05-06 Thread nino martinez wael
I agree its a log4j question... On May 6, 2011 4:37 PM, Martin Grigorov mgrigo...@apache.org wrote: I think it is a question to Oracle since all of the technologies are Java based :-) @Henrique, Nino: indeed this is Log4J question. On Fri, May 6, 2011 at 4:33 PM, James Carman

Re: Separate log files (tomcat, hibernate, wicket, etc)

2011-05-06 Thread Gabriel Landon
Maybe you can use : http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/spi/Filter.html And yes it's a log4j question :-) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Separate-log-files-tomcat-hibernate-wicket-etc-tp3502793p3503807.html Sent from

Re: Separate log files (tomcat, hibernate, wicket, etc)

2011-05-06 Thread Henrique Boregio
Fine..majority wins, it's a log4j question haha Thanks anyways for the tips. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: Separate log files (tomcat, hibernate, wicket, etc)

2011-05-06 Thread Clint Checketts
A hint to direct you: setup different 'categories' based on package you want to split it out on, then setup a separate appender for each of those categories to go to your separate files. I don't have an example for you though. Maybe this: