Results 1 to 2 of 2

Thread: How to separate the log statements

  1. #1
    Join Date
    Oct 2009
    Posts
    2

    Default How to separate the log statements

    Hi,

    I am using the Spring Batch in my application. Spring is logging few statements when job is being runned. How do I separate the log statements made by Spring batch in a separate log file other than the log files that my application is using.

    Please help me in resolving this issue

    Regards
    Harish

  2. #2

    Default

    Just prepare separate appender in log4j configuration file and configure correctly categories. For more info check Log4J docs and forums.
    HTH

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •