It's all about the answers!

Ask a question

How to do logging in a server-site plugin?

Berthold Kröger (7841923) | asked Nov 12 '14, 2:15 p.m.

I created a server-site plugin that sends a Http message whenever a workitem is saved. Due to problems on the receiver site I would like to log several details from the plugin processing. How can I do that?

I created a log4j.logger (my class is named "")
private static org.apache.log4j.Logger logger = org.apache.log4j.Logger.getLogger(BuildOnStateChangeParticipant.class);
and added following entries to the ccm :

Which of these statements is correct? Is the log4j properties file in /server/conf/ccm the correct place for logger definitions within a RTC plugin?

Berthold Kroeger

Be the first one to answer this question!

Register or to post your answer.