log4j settings

I need to split my logging for a classes that belong to this package com.a.c.d

What I need to do is split the logging levels as follows:

1) INFO be directed to one file
2) All other debug, error, warning go to another fiile

can this be done and how?

many thnaks
inzaghiAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
girionisCommented:
Yes you can do it, you just need to define different loggers, have a look here for a short tutorial: http://logging.apache.org/log4j/docs/manual.html
0
 
girionisCommented:
:)
0
All Courses

From novice to tech pro — start learning today.