my project is maven project.I have create mule flow config and log4j.properties inside src/main/app . this is how i call logger in the flow :
<logger level="INFO" doc:name="Logger" message="#[payload]" />
I'm using STS ide and start project application by deploy on tomcat server. When i have running into the flow other component work well but don't have any log show.
Do I need to config anything else?
You need to ship the Log4J library with your application. Did you do so?
Try keeping your log4j.properties file in src/main/resources .
This might help.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.