Creating a Logging Appender
You can create a logging appender from the GUI or by using the CLI. Three types of appenders are supported: Clear Text File, CBE XML File, and JMS.
Copyright © 2022. Cloud Software Group, Inc. All Rights Reserved.
You can create a logging appender from the GUI or by using the CLI. Three types of appenders are supported: Clear Text File, CBE XML File, and JMS.
<LogAppender xsi:type="amxdata:FileLogAppender" name="HelloWorldFileAppender" description="This is File LogAppender" filePath="C:/amx-3admin/tibco/cfgmgmt/tibcohost/Admin-amxadmin-instanceOne/ nodes/DevNode/logs/HelloWorld.log" maxSize="10000" maxBackupNum="5"/>CBE File Appender
<LogAppender xsi:type="amxdata:FileLogAppender" name="myFileLogAppender" description="This is File LogAppender" filePath="C:/amx-3admin/tibco/cfgmgmt/tibcohost/Admin-amxadmin-instanceOne/ nodes/DevNode/logs/HelloWorld-CBE.log" type="cbe" maxSize="1000" maxBackupNum="5"/>JMS Appender without payload support
<LogAppender xsi:type="amxdata:JmsLogAppender" name="myJmsLogAppender" description="This is Jms LogAppender without payload support" jmsConnectionFactoryName="cl_logservice_jmsConnectionFactory" jmsConnectionName="cl_logservice_jndiConnectionConfig" jmsDestination="cl_logservice_jmsConnectionDestionation" type="jndi" sync="true"/>JMS Appender with payload support
<LogAppender xsi:type="amxdata:JmsLogAppender" name="myJmsLogAppender" description="This is Jms LogAppender with payload support" jmsConnectionFactoryName="cl_logservice_jmsConnectionFactory" jmsConnectionName="cl_logservice_jndiConnectionConfig" jmsDestination="cl_logservice_jmsConnectionDestionation" type="jndi" sync="true" payloadURL="c:/payloadURL" sharedDiskURL="c:/sharedDiskURL"/>
<AMXAdminTask action="add" objectSelector="LogAppender"/>
ant -f logappender_build.xml create