Link to home
Start Free TrialLog in
Avatar of inzaghi
inzaghi

asked on

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
Avatar of girionis
girionis
Flag of Greece image

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
ASKER CERTIFIED SOLUTION
Avatar of girionis
girionis
Flag of Greece image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial