KB Article #176884

Is it possible to send the trace output to syslog?

Answer

The trace output for the node manager and the API Gateway instances can be sent to a syslog on Linux if a local syslog daemon is running.



Note that this may generate considerable output if the trace level is set to debug or data. The level itself will not appear.



To switch on the syslog tracing ...



add
<SyslogTrace facility="local0"/>



to the file /opt/Axway/apigateway/system/conf/trace.xml inside the ConfigurationFragment element as below



e.g.
<ConfigurationFragment>
...
<SyslogTrace facility="local0"/>
...
</ConfigurationFragment>






Example Output

Node Manager (host=axp,name=nodemanageronaxp1.axway.com)
Feb 26 07:07:00 axp nodemanageronaxp1.axway.com: listen on address: 0.0.0.0:8090



API Gateway Instance (host=axp,name=server1_1)
Feb 26 07:09:39 axp server1_1: service started (version 7.3.1-2014-07-28 rev. 80fd8fe, pid 21660)