0

My application is on spring framework and for logging i am using LogBack and Slf4j.

I have written a filter to write request logs, currently my application as well as request log all go to a single file, as both are using log level of INFO. Is there a way i can push my application logs and requests to different files.

Any pointers and leads will be helpful.

1 Answers1

0

I had a similar requirement to log to different log files based on some condition and I considered using logback SiftingAppender

Akhil
  • 1,184
  • 1
  • 18
  • 42