log4j Custom Appender For Separate Log Files

Handbook issued to passengers on Campania

Image via Wikipedia

We needed different log files for a common web project, this gateway project simply loads web services dynamically and generates the wsdd files at runtime, but the problem was huge size of the common log file used by all services. So we needed different log files for different services.

Here is the step by step solution to separate&customize the log files:

That was all!

Enhanced by Zemanta

Did you enjoy this post? Why not leave a comment below and continue the conversation, or subscribe to my feed and get articles like this delivered automatically to your feed reader.

Comments

No comments yet.

Leave a comment

(required)

(required)