ipfinternalconfig.xml 3.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Licensed Materials - Property of IBM
  4. IBM Cognos Products: ccllogging
  5. (C) Copyright IBM Corp. 2005, 2018
  6. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  7. -->
  8. <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
  9. <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
  10. <appender name="ipfInternalLoggingFile4CPP" class="org.apache.log4j.RollingFileAppender" addProcID="false">
  11. <!-- Specify a fully qualified existing path for the log file. If use relative path, it should be relative to <C8 install root>/bin directory. -->
  12. <param name="File" value="../logs/ipfInternal_cpp.log"/>
  13. <param name="MaxBackupIndex" value="10"/>
  14. <param name="MaximumFileSize" value="10485760"/>
  15. <layout class="org.apache.log4j.PatternLayout">
  16. <param name="ConversionPattern" value="%d %-5r %-5p [%t] - %m%n"/>
  17. </layout>
  18. </appender>
  19. <appender name="ipfInternalLoggingFile4Java" class="org.apache.log4j.RollingFileAppender" addProcID="false">
  20. <!-- Specify a fully qualified existing path for the log file. If use relative path, it should be relative to <C8 install root>/bin directory. -->
  21. <param name="File" value="../logs/ipfInternal_java.log"/>
  22. <param name="MaxBackupIndex" value="10"/>
  23. <param name="MaximumFileSize" value="10485760"/>
  24. <layout class="org.apache.log4j.PatternLayout">
  25. <param name="ConversionPattern" value="%d %-5r %-5p [%t] - %m%n"/>
  26. </layout>
  27. </appender>
  28. <appender name="ipfInternalLoggingFile4CPP_Debug" class="org.apache.log4j.RollingFileAppender" addProcID="true">
  29. <!-- Specify a fully qualified existing path for the log file. If use relative path, it should be relative to <C8 install root>/bin directory. -->
  30. <param name="File" value="../logs/ipfInternalDbg_cpp.log"/>
  31. <param name="MaxBackupIndex" value="10"/>
  32. <param name="MaximumFileSize" value="10485760"/>
  33. <layout class="org.apache.log4j.PatternLayout">
  34. <param name="ConversionPattern" value="%d %-5r %-5p [%t] - %m%n"/>
  35. </layout>
  36. </appender>
  37. <appender name="ipfInternalLoggingFile4Java_Debug" class="org.apache.log4j.RollingFileAppender" addProcID="true">
  38. <!-- Specify a fully qualified existing path for the log file. If use relative path, it should be relative to <C8 install root>/bin directory. -->
  39. <param name="File" value="../logs/ipfInternalDbg_java.log"/>
  40. <param name="MaxBackupIndex" value="10"/>
  41. <param name="MaximumFileSize" value="10485760"/>
  42. <layout class="org.apache.log4j.PatternLayout">
  43. <param name="ConversionPattern" value="%d %-5r %-5p [%t] - %m%n"/>
  44. </layout>
  45. </appender>
  46. <!-- To enable the debug level for IPF internal logging, please comment out the "Default settings" section,
  47. And enable the "Debug settings" section.
  48. -->
  49. <!-- Default settings -->
  50. <category name="CognosIPF.LogLogCPP" class="" additivity="false">
  51. <level value="error"/>
  52. <appender-ref ref="ipfInternalLoggingFile4CPP"/>
  53. </category>
  54. <category name="CognosIPF.LogLogJava" class="" additivity="false">
  55. <level value="error"/>
  56. <appender-ref ref="ipfInternalLoggingFile4Java"/>
  57. </category>
  58. <!-- end of Default settings -->
  59. <!-- Debug settings -->
  60. <!--category name="CognosIPF.LogLogCPP" class="" additivity="false">
  61. <level value="debug"/>
  62. <appender-ref ref="ipfInternalLoggingFile4CPP_Debug"/>
  63. </category>
  64. <category name="CognosIPF.LogLogJava" class="" additivity="false">
  65. <level value="debug"/>
  66. <appender-ref ref="ipfInternalLoggingFile4Java_Debug"/>
  67. </category-->
  68. <!-- end of Debug settings -->
  69. </log4j:configuration>