Hi,

I want to set some logs to debug in log mediator. When I set log category
to DEBUG and enable DEBUG in SERVICE_LOGGER, I don't see any logs in any of
the file inside logs folder. How do we enable debug logs for APIs and
proxies?

         <log level="custom">
            <property name="category" value="log category INFO"/>
     </log>
     <log level="custom" *category="DEBUG"*>
            <property name="category" value="log category DEBUG"/>
     </log>

log4j.category.SERVICE_LOGGER=*DEBUG*, SERVICE_APPENDER
log4j.additivity.SERVICE_LOGGER=false
log4j.appender.SERVICE_APPENDER=org.apache.log4j.RollingFileAppender
log4j.appender.SERVICE_APPENDER.File=${carbon.home}/repository/logs/${instance.log}/wso2-esb-service${instance.log}.log
####log4j.appender.SERVICE_APPENDER.File=${carbon.home}/repository/logs/${instance.log}/wso2-esb-get-users${instance.log}.log

-- 

Udara Liyanage
Software Engineer
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

Blog: http://udaraliyanage.wordpress.com
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to