Hi,

Is it possible to have more than one file appender in one class and log
different things to it? I like to do the following:

Generating normal program output in one file and creating a transaction
protocol in a different file. The transaction protocol should be for
transactions only and should NOT contain any error, info etc messages. The
transaction log is sort of a 'businesslogic' file and has nothing to do with
logging levels, this means entries are made depending on a business logic
and not depending on a logging level.

In terms of log4j I should have something like two categories for one class.
Is this somehow possible or do I have to write my own log facility (using a
PrintWriter) for that sort of thing?

Many thanks.

Thomas


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to