2

How do I configure Myfaces to write to the logs through logback implementation which rest of my application uses ? Currently I'm writing logs from all parts of my application except the messages by Myfaces in log files.

I can find the messages from Myfaces even in the netbeans console.


Using Myfaces 2.1.8 with Glassfish 3.1 (Netbeans)

Rajat Gupta
  • 25,853
  • 63
  • 179
  • 294

1 Answers1

0

Myfaces may be logging to JUL. So you may be required to use jul-to-slf4j to redirect all logging to SLF4J.

Checkout this for how to fix.

Community
  • 1
  • 1
Aditya
  • 16
  • 1