12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- ******************************************************************************************
- * Read Me *
- * This software is the confidential and proprietary information *
- * of IBM. ("Confidential Information"). You *
- * shall not disclose such Confidential Information and shall use *
- * it only in accordance with the terms of the license agreement *
- * you entered into with IBM. *
- * *
- * Copyright (C) 2013 by IBM. All rights reserved. *
- ******************************************************************************************
- Steps for enabling JMS Appender
- 1. Enable ipf sds logging (rename ipfsdsclientconfig.xml.sample -> ipfclientconfig.xml in configuration folder)
- Use correct settings of a server in jsm appender block
- <!-- JMS appender -->
- <appender name="jmsAppender" class="org.apache.log4j.net.JMSAppender">
- <param name="InitialContextFactoryName" value="org.apache.activemq.jndi.ActiveMQInitialContextFactory"/>
-
- <param name="ProviderURL" value="tcp://localhost:61616"/>
-
- <param name="TopicBindingName" value="logTopic"/>
- <param name="TopicConnectionFactoryBindingName" value="ConnectionFactory"/>
- </appender>
- 2. Set logging category with jms appender (debug)
- <!-- DLS Archive Service -->
- <category name="Audit.Archive.DLS" class="com.cognos.indications.LogTypedLogger">
- <level value="debug"/>
- <appender-ref ref="jmsAppender"/>
- </category>
- 3. Add/edit jndi.properties file in c10install\p2pd\web-inf\lib folder with mapping data as
- topic.logTopic=Cognos_Report_archive
- Note: If the file jndi.properties does not exist in this location, so you may need to create it
- 4. Copy third party active mq library (activemq-all.jar) in c10install\p2pd\web-inf\lib folder
- 5. Restart IBM Cognos server
|