Logging_en.xml 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Licensed Materials - Property of IBM
  4. IBM Cognos Products: cclmcf
  5. (C) Copyright IBM Corp. 2009, 2013
  6. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  7. ===============================================================================================
  8. Configuration samples for IPF.
  9. ===============================================================================================
  10. -->
  11. <crn:parameters xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:crn="http://developer.cognos.com/schemas/crconfig/1/" xsi:schemaLocation="http://developer.cognos.com/schemas/crconfig/1/ cogstartup.xsd" version="175.0">
  12. <crn:parameter name="IPF" opaque="true">
  13. <crn:value>
  14. <crn:instances name="appender">
  15. <!--
  16. ===============================================================================
  17. (Begin of) consolidator template
  18. -->
  19. <crn:instance name="consolidator Name" class="consolidator">
  20. <!-- consolidatorConnection: Specifies the host name and port of the remote log
  21. server. -->
  22. <!-- The remote log server is located on another computer. Use the following
  23. syntax: host:port. -->
  24. <crn:parameter name="consolidatorConnection">
  25. <crn:value xsi:type="cfg:hostPort">
  26. </crn:value>
  27. </crn:parameter>
  28. <!-- consolidatorReconnectionDelay: Specifies the maximum number of seconds to wait
  29. between failed connection attempts to the remote log server. -->
  30. <!-- Set the value of this property to zero to disable reconnection attempts. -->
  31. <!-- Units: sec -->
  32. <crn:parameter name="consolidatorReconnectionDelay">
  33. <crn:value xsi:type="xsd:nonNegativeInteger">30</crn:value>
  34. </crn:parameter>
  35. <!-- enableConsolidatorSSL: Specifies whether SSL protocol is used to communicate
  36. with the remote log server. -->
  37. <!-- If you set the value of this property to true, SSL is used and encryption is
  38. enabled for communication with the remote log server. -->
  39. <crn:parameter name="enableConsolidatorSSL">
  40. <crn:value xsi:type="xsd:boolean">false</crn:value>
  41. </crn:parameter>
  42. </crn:instance>
  43. <!--
  44. (End of) consolidator template
  45. ===============================================================================
  46. -->
  47. <!--
  48. ===============================================================================
  49. (Begin of) eventLog template
  50. -->
  51. <crn:instance name="eventLog Name" class="eventLog">
  52. <!-- logSource: Specifies the name of the source application that generated the
  53. message. -->
  54. <!-- Use this property to change the name of source. For example, you may find it
  55. useful to use IBM Cognos component names. By default, the application name is
  56. IBM Cognos. -->
  57. <crn:parameter name="logSource">
  58. <crn:value xsi:type="xsd:string">IBM Cognos</crn:value>
  59. </crn:parameter>
  60. </crn:instance>
  61. <!--
  62. (End of) eventLog template
  63. ===============================================================================
  64. -->
  65. <!--
  66. ===============================================================================
  67. (Begin of) file template
  68. -->
  69. <crn:instance name="file Name" class="file">
  70. <!-- appenderName: Specifies the name and location of a file that contains log
  71. statements or messages. -->
  72. <crn:parameter name="appenderName">
  73. <crn:value xsi:type="cfg:filePath">../logs/cogaudit.log</crn:value>
  74. </crn:parameter>
  75. <!-- appenderMaxSize: Specifies the maximum size of the log file in MB. -->
  76. <!-- When this limit is exceeded, a new backup file is created. Enter a number
  77. between 1 and 50. -->
  78. <!-- Units: MB -->
  79. <crn:parameter name="appenderMaxSize">
  80. <crn:value xsi:type="xsd:positiveInteger">10</crn:value>
  81. </crn:parameter>
  82. <!-- appenderRollOver: Specifies the maximum number of backup log files. -->
  83. <!-- When the limit is exceeded, the oldest log file is deleted. Each backup file
  84. is created using a sequential file extension. For example, 'filename.1',
  85. 'filename.2'. -->
  86. <crn:parameter name="appenderRollOver">
  87. <crn:value xsi:type="xsd:positiveInteger">1</crn:value>
  88. </crn:parameter>
  89. <!-- useUTF8Encoding: Specifies whether to use UTF-8 character set encoding for log
  90. messages. -->
  91. <!-- Set this value to true to use UTF-8 encoding. Otherwise, native encoding is
  92. used. -->
  93. <crn:parameter name="useUTF8Encoding">
  94. <crn:value xsi:type="xsd:boolean">false</crn:value>
  95. </crn:parameter>
  96. </crn:instance>
  97. <!--
  98. (End of) file template
  99. ===============================================================================
  100. -->
  101. <!--
  102. ===============================================================================
  103. (Begin of) ipf_database template
  104. -->
  105. <crn:instance name="ipf_database Name" class="ipf_database">
  106. <crn:instances name="ipf_database">
  107. <!--
  108. ===============================================================================
  109. (Begin of) DB2 template
  110. -->
  111. <crn:instance name="DB2 Name" class="DB2">
  112. <!-- server: Specifies the name or TCP/IP address of the database computer. -->
  113. <!-- When a value is specified, database connections are made directly to the
  114. database (type 4). When the value is left blank, database connections are made
  115. through the database client (type 2). -->
  116. <crn:parameter name="server">
  117. <crn:value xsi:type="cfg:hostPort">
  118. </crn:value>
  119. </crn:parameter>
  120. <!-- user: Specifies the user ID and password that the product uses to connect to
  121. the logging database. -->
  122. <!-- This value identifies the database user who has unrestricted access to the
  123. database. The product uses this account to access the content store. To secure
  124. the logon credentials, you can encrypt the database logon information
  125. immediately by saving your configuration. -->
  126. <crn:parameter name="user">
  127. <crn:value xsi:type="cfg:credential" encrypted="false">
  128. <credential>
  129. <username>joe</username>
  130. <password>paranoid</password>
  131. </credential>
  132. </crn:value>
  133. </crn:parameter>
  134. <!-- name: Specifies the name of the DB2 database. -->
  135. <!-- Enter the name of the database. -->
  136. <crn:parameter name="name">
  137. <crn:value xsi:type="xsd:string">
  138. </crn:value>
  139. </crn:parameter>
  140. <!-- advancedProperties: Defines the set of extra connection parameters -->
  141. <!-- The user needs to provide the name and the value for each advanced property. -->
  142. <crn:parameter name="advancedProperties">
  143. <crn:value xsi:type="cfg:array">
  144. </crn:value>
  145. </crn:parameter>
  146. <!-- SSLencryptionEnabled: Specifies whether database connection should use SSL
  147. encryption. -->
  148. <!-- Use this property to enable SSL encryption of the database connection. -->
  149. <crn:parameter name="SSLencryptionEnabled">
  150. <crn:value xsi:type="xsd:boolean">false</crn:value>
  151. </crn:parameter>
  152. </crn:instance>
  153. <!--
  154. (End of) DB2 template
  155. ===============================================================================
  156. -->
  157. <!--
  158. ===============================================================================
  159. (Begin of) Informix template
  160. -->
  161. <crn:instance name="Informix Name" class="Informix">
  162. <!-- server: Specifies the name or TCP/IP address of the database computer. -->
  163. <!-- The default value "localhost" indicates that the database is on this computer.
  164. -->
  165. <crn:parameter name="server">
  166. <crn:value xsi:type="cfg:hostPort">localhost:9091</crn:value>
  167. </crn:parameter>
  168. <!-- user: Specifies the user ID and password that the product uses to connect to
  169. the content store. -->
  170. <!-- This value identifies the database user who has unrestricted access to the
  171. database. The product uses this account to access the content store. To secure
  172. the logon credentials, you can encrypt the database logon information
  173. immediately by saving your configuration. -->
  174. <crn:parameter name="user">
  175. <crn:value xsi:type="cfg:credential" encrypted="false">
  176. <credential>
  177. <username>joe</username>
  178. <password>paranoid</password>
  179. </credential>
  180. </crn:value>
  181. </crn:parameter>
  182. <!-- name: Specifies the name of the Informix Dynamic Server database. -->
  183. <!-- Enter the name of the database. -->
  184. <crn:parameter name="name">
  185. <crn:value xsi:type="xsd:string">
  186. </crn:value>
  187. </crn:parameter>
  188. <!-- advancedProperties: Defines the set of extra connection parameters -->
  189. <!-- The user needs to provide the name and the value for each advanced property. -->
  190. <crn:parameter name="advancedProperties">
  191. <crn:value xsi:type="cfg:array">
  192. </crn:value>
  193. </crn:parameter>
  194. <!-- SSLencryptionEnabled: Specifies whether database connection should use SSL
  195. encryption. -->
  196. <!-- Use this property to enable SSL encryption of the database connection. -->
  197. <crn:parameter name="SSLencryptionEnabled">
  198. <crn:value xsi:type="xsd:boolean">false</crn:value>
  199. </crn:parameter>
  200. </crn:instance>
  201. <!--
  202. (End of) Informix template
  203. ===============================================================================
  204. -->
  205. <!--
  206. ===============================================================================
  207. (Begin of) Microsoft template
  208. -->
  209. <crn:instance name="Microsoft Name" class="Microsoft">
  210. <!-- server: Specifies the name or TCP/IP address of the database computer. -->
  211. <!-- You can use 'localhost' if the database is located on the same computer. If
  212. there is more than one instance of Microsoft SQL Server running on the database
  213. computer, use the following syntax: "computername:port" or
  214. "computername\\instancename", where the port is determined using the SQL
  215. Network Utility or SQL Enterprise Manager. For more information, see the
  216. Microsoft SQL Server documentation. -->
  217. <crn:parameter name="server">
  218. <crn:value xsi:type="cfg:hostPortInstance">localhost:1433</crn:value>
  219. </crn:parameter>
  220. <!-- user: Specifies the user ID and password that the product uses to connect to
  221. the logging database. -->
  222. <!-- This value identifies the database user who has unrestricted access to the
  223. database. The product uses this account to access the content store. To secure
  224. the logon credentials, you can encrypt the database logon information
  225. immediately by saving your configuration. -->
  226. <crn:parameter name="user">
  227. <crn:value xsi:type="cfg:credential" encrypted="false">
  228. <credential>
  229. <username>joe</username>
  230. <password>paranoid</password>
  231. </credential>
  232. </crn:value>
  233. </crn:parameter>
  234. <!-- name: Specifies the name of the SQL Server database. -->
  235. <!-- Enter the name of the database. The name is set when you create the database.
  236. Ensure that the value for this property corresponds to the name of the database
  237. you created. Otherwise, the product will not run. -->
  238. <crn:parameter name="name">
  239. <crn:value xsi:type="xsd:string">
  240. </crn:value>
  241. </crn:parameter>
  242. <!-- advancedProperties: Defines the set of extra connection parameters -->
  243. <!-- The user needs to provide the name and the value for each advanced property. -->
  244. <crn:parameter name="advancedProperties">
  245. <crn:value xsi:type="cfg:array">
  246. </crn:value>
  247. </crn:parameter>
  248. <!-- SSLencryptionEnabled: Specifies whether database connection should use SSL
  249. encryption. -->
  250. <!-- Use this property to enable SSL encryption of the database connection. -->
  251. <crn:parameter name="SSLencryptionEnabled">
  252. <crn:value xsi:type="xsd:boolean">false</crn:value>
  253. </crn:parameter>
  254. </crn:instance>
  255. <!--
  256. (End of) Microsoft template
  257. ===============================================================================
  258. -->
  259. <!--
  260. ===============================================================================
  261. (Begin of) MicrosoftWinAuth template
  262. -->
  263. <crn:instance name="MicrosoftWinAuth Name" class="MicrosoftWinAuth">
  264. <!-- server: Specifies the name or TCP/IP address of the database computer. -->
  265. <!-- You can use 'localhost' if the database is located on the same computer. If
  266. there is more than one instance of Microsoft SQL Server running on the database
  267. computer, use the following syntax: "computername:port" or
  268. "computername\\instancename", where the port is determined using the SQL
  269. Network Utility or SQL Enterprise Manager. For more information, see the
  270. Microsoft SQL Server documentation. -->
  271. <crn:parameter name="server">
  272. <crn:value xsi:type="cfg:hostPortInstance">localhost:1433</crn:value>
  273. </crn:parameter>
  274. <!-- name: Specifies the name of the SQL Server database. -->
  275. <!-- Enter the name of the database. The name is set when you create the database.
  276. Ensure that the value for this property corresponds to the name of the database
  277. you created. Otherwise, the product will not run. -->
  278. <crn:parameter name="name">
  279. <crn:value xsi:type="xsd:string">
  280. </crn:value>
  281. </crn:parameter>
  282. <!-- advancedProperties: Defines the set of extra connection parameters -->
  283. <!-- The user needs to provide the name and the value for each advanced property. -->
  284. <crn:parameter name="advancedProperties">
  285. <crn:value xsi:type="cfg:array">
  286. </crn:value>
  287. </crn:parameter>
  288. <!-- SSLencryptionEnabled: Specifies whether database connection should use SSL
  289. encryption. -->
  290. <!-- Use this property to enable SSL encryption of the database connection. -->
  291. <crn:parameter name="SSLencryptionEnabled">
  292. <crn:value xsi:type="xsd:boolean">false</crn:value>
  293. </crn:parameter>
  294. </crn:instance>
  295. <!--
  296. (End of) MicrosoftWinAuth template
  297. ===============================================================================
  298. -->
  299. <!--
  300. ===============================================================================
  301. (Begin of) Oracle template
  302. -->
  303. <crn:instance name="Oracle Name" class="Oracle">
  304. <!-- server: Specifies the name or TCP/IP address of the database computer. -->
  305. <!-- The default value "localhost" indicates that the database is on this computer.
  306. -->
  307. <crn:parameter name="server">
  308. <crn:value xsi:type="cfg:hostPort">localhost:1521</crn:value>
  309. </crn:parameter>
  310. <!-- user: Specifies the user ID and password that the product uses to connect to
  311. the logging database. -->
  312. <!-- This value identifies the database user who has unrestricted access to the
  313. database. The product uses this account to access the content store. To secure
  314. the logon credentials, you can encrypt the database logon information
  315. immediately by saving your configuration. -->
  316. <crn:parameter name="user">
  317. <crn:value xsi:type="cfg:credential" encrypted="false">
  318. <credential>
  319. <username>joe</username>
  320. <password>paranoid</password>
  321. </credential>
  322. </crn:value>
  323. </crn:parameter>
  324. <!-- advancedProperties: Defines the set of extra connection parameters -->
  325. <!-- The user needs to provide the name and the value for each advanced property. -->
  326. <crn:parameter name="advancedProperties">
  327. <crn:value xsi:type="cfg:array">
  328. </crn:value>
  329. </crn:parameter>
  330. <!-- servicename: Specifies the service name (SID) for the Oracle database
  331. instance. -->
  332. <!-- Use this property so that you can connect to the Oracle instance that
  333. corresponds to the database. -->
  334. <crn:parameter name="servicename">
  335. <crn:value xsi:type="xsd:string">
  336. </crn:value>
  337. </crn:parameter>
  338. </crn:instance>
  339. <!--
  340. (End of) Oracle template
  341. ===============================================================================
  342. -->
  343. <!--
  344. ===============================================================================
  345. (Begin of) OracleAdvanced template
  346. -->
  347. <crn:instance name="OracleAdvanced Name" class="OracleAdvanced">
  348. <!-- user: Specifies the user ID and password that the product uses to connect to
  349. the logging database. -->
  350. <!-- This value identifies the database user who has unrestricted access to the
  351. database. The product uses this account to access the content store. To secure
  352. the logon credentials, you can encrypt the database logon information
  353. immediately by saving your configuration. -->
  354. <crn:parameter name="user">
  355. <crn:value xsi:type="cfg:credential" encrypted="false">
  356. <credential>
  357. <username>joe</username>
  358. <password>paranoid</password>
  359. </credential>
  360. </crn:value>
  361. </crn:parameter>
  362. <!-- specifier: Specifies the Oracle database with a connect descriptor. -->
  363. <!-- Use this property to specify the Oracle database with a Net8 keyword-value
  364. pair. -->
  365. <crn:parameter name="specifier">
  366. <crn:value xsi:type="xsd:string">
  367. </crn:value>
  368. </crn:parameter>
  369. <!-- SSLencryptionEnabled: Specifies whether database connection should use SSL
  370. encryption. -->
  371. <!-- Use this property to enable SSL encryption of the database connection. -->
  372. <crn:parameter name="SSLencryptionEnabled">
  373. <crn:value xsi:type="xsd:boolean">false</crn:value>
  374. </crn:parameter>
  375. <!-- advancedProperties: Defines the set of extra connection parameters -->
  376. <!-- The user needs to provide the name and the value for each advanced property. -->
  377. <crn:parameter name="advancedProperties">
  378. <crn:value xsi:type="cfg:array">
  379. </crn:value>
  380. </crn:parameter>
  381. </crn:instance>
  382. <!--
  383. (End of) OracleAdvanced template
  384. ===============================================================================
  385. -->
  386. </crn:instances>
  387. </crn:instance>
  388. <!--
  389. (End of) ipf_database template
  390. ===============================================================================
  391. -->
  392. <!--
  393. ===============================================================================
  394. (Begin of) sysLog template
  395. -->
  396. <crn:instance name="sysLog Name" class="sysLog">
  397. <!-- host: Specifies the host name of the computer where the system log is stored. -->
  398. <!-- If you use a fully qualified name, ensure that your network is set up to
  399. resolve it. -->
  400. <crn:parameter name="host">
  401. <crn:value xsi:type="cfg:hostOnly">
  402. </crn:value>
  403. </crn:parameter>
  404. <!-- facility: Specifies the service areas under which you can log messages. -->
  405. <!-- Use this property to list log statements for the facility (hardware device,
  406. protocol, or a module or system software) that produces the messages. -->
  407. <crn:parameter name="facility">
  408. <crn:value xsi:type="xsd:string">DAEMON</crn:value>
  409. </crn:parameter>
  410. <!-- facilityPrinting: Specifies whether the syslog facility is printed as part of
  411. the log message. -->
  412. <!-- Set this property to true to ensure the log message includes the facility
  413. name. -->
  414. <crn:parameter name="facilityPrinting">
  415. <crn:value xsi:type="xsd:boolean">false</crn:value>
  416. </crn:parameter>
  417. </crn:instance>
  418. <!--
  419. (End of) sysLog template
  420. ===============================================================================
  421. -->
  422. </crn:instances>
  423. </crn:value>
  424. </crn:parameter>
  425. </crn:parameters>