logfile.conf.xml 1.1 KB

1234567891011121314151617181920212223242526272829
  1. <configuration name="logfile.conf" description="File Logging">
  2. <settings>
  3. <!-- true to auto rotate on HUP, false to open/close -->
  4. <param name="rotate-on-hup" value="true"/>
  5. </settings>
  6. <profiles>
  7. <profile name="default">
  8. <settings>
  9. <!-- File to log to -->
  10. <!--<param name="logfile" value="/var/log/freeswitch.log"/>-->
  11. <!-- At this length in bytes rotate the log file (0 for never) -->
  12. <param name="rollover" value="10485760"/>
  13. <!-- Maximum number of log files to keep before wrapping -->
  14. <!-- If this parameter is enabled, the log filenames will not include a date stamp -->
  15. <!-- <param name="maximum-rotate" value="32"/> -->
  16. <!-- Uncomment to prefix all log lines by the session's uuid -->
  17. <param name="uuid" value="true" />
  18. </settings>
  19. <mappings>
  20. <!--
  21. name can be a file name, function name or 'all'
  22. value is one or more of debug,info,notice,warning,err,crit,alert,all
  23. Please see comments in console.conf.xml for more information
  24. -->
  25. <map name="all" value="debug,info,notice,warning,err,crit,alert"/>
  26. </mappings>
  27. </profile>
  28. </profiles>
  29. </configuration>