I am facing issue in MessageLogging policy for syslog with local destination
For local as Log destination,my messagelog policy is,
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><MessageLoggingasync="false"continueOnError="false"enabled="true"name="Message-Logging-1"><DisplayName>Message Logging 1</DisplayName><Syslog><Message>Message.id = {request.queryparam.w}</Message></Syslog></MessageLogging>
In the OnPremise Edge,the configuration is as below,
/opt/apigee4/conf/apigee/message-processor/message-logging.properties file contains,
log.root.dir=/opt/apigee4/var/log/messages #max.log.message.size.in.kb=128 #max.pending.write.size.in.mb=4 #max.write.delay.seconds=30
Under /opt/apigee4/var/log,I created a folder named messages and restarted.But when the transaction happens,I am not seeing any logs getting updated here.
But,when I am switching on trace,I seeing details as below in /opt/apigee4/var/log/apigee/message-processor/logs/system.log.These are only trace log info I believe.
2015-10-19 05:41:32,014 org: env: Apigee-Main-7 INFO DEBUG.MASK - DebugMaskDataUtil.getMaskDataConfigurationBeanFromRepo() : DebugMaskDataConfigurationBean not available for Path : /organizations/digital/apiproxies/loggingtest/maskconfigs/default . Returning empty DebugMaskDataConfigurationBea
Why Syslog info not getting updated in the local path given under log.root.dir as well as in thismessage-processor/logs/system.log ?
Solved! Go to Solution.
This is working fine. I used syslog instead of Filelog in the messagelogging policy.Once I changed it,I could see the log files getting updated under messages folder.
This is working fine. I used syslog instead of Filelog in the messagelogging policy.Once I changed it,I could see the log files getting updated under messages folder.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |