I am having problems integrating perf4j in an existing maven application.
I tried several approaches, but none of them seemed to work, so I was wondering if anyone has some insight into how this is done.
What I want to do is use the AOP part of perf4j on some methods and log them into a different file than the one used for app logging.
Thanks
Asked
Active
Viewed 885 times
1

Radu
- 1,044
- 3
- 12
- 35
1 Answers
1
You might be suffering from the same declaration order issue as mentioned in another perf4j/logback related question. In short, it is always a good idea to enable printing of logback's internal status messages by setting the debug
attribute to true within the configuration
element. Also do not forget that any referenced appender must be declared beforehand.