bin/mule script
Create and export an environment variable pointing to your desired log location.
export LOG_DIR=/data/logs/your-desired-log-location
conf/wrapper.conf file
Refer to the environment variable exported in the mule script in the wrapper.logfile property in the wrapper.conf configuration file.
#********************************************************************
# Wrapper Logging Properties
#********************************************************************
......
# Log file to use for wrapper output logging.
wrapper.logfile=%LOG_DIR%/%MULE_APP%.log
......
No comments:
Post a Comment