...
Code written for the sipXecs project should use logging libraries from the project: the OsSysLog
class (in sipXportLib
) for C++. Java code should use the log4j logging framework and use the and the log4j Appender defined in org.sipfoundry.commons.log4j.SipFoundryAppender
and the log4j Layout defined in org.sipfoundry.commons.log4j.SipFoundryLayout
.
Where possible, third party code should have its logging wrapped to conform to these conventions.