home *** CD-ROM | disk | FTP | other *** search
/ Chip 2011 November / CHIP_2011_11.iso / Programy / Linux / Ubuntu_64-bit / ubuntu-11.04-desktop-amd64.iso / casper / filesystem.squashfs / etc / rsyslog.conf < prev    next >
Text File  |  2011-01-12  |  1KB  |  55 lines

  1. #  /etc/rsyslog.conf    Configuration file for rsyslog.
  2. #
  3. #            For more information see
  4. #            /usr/share/doc/rsyslog-doc/html/rsyslog_conf.html
  5. #
  6. #  Default logging rules can be found in /etc/rsyslog.d/50-default.conf
  7.  
  8.  
  9. #################
  10. #### MODULES ####
  11. #################
  12.  
  13. $ModLoad imuxsock # provides support for local system logging
  14. $ModLoad imklog   # provides kernel logging support (previously done by rklogd)
  15. #$ModLoad immark  # provides --MARK-- message capability
  16.  
  17. # provides UDP syslog reception
  18. #$ModLoad imudp
  19. #$UDPServerRun 514
  20.  
  21. # provides TCP syslog reception
  22. #$ModLoad imtcp
  23. #$InputTCPServerRun 514
  24.  
  25.  
  26. ###########################
  27. #### GLOBAL DIRECTIVES ####
  28. ###########################
  29.  
  30. #
  31. # Use traditional timestamp format.
  32. # To enable high precision timestamps, comment out the following line.
  33. #
  34. $ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat
  35.  
  36. # Filter duplicated messages
  37. $RepeatedMsgReduction on
  38.  
  39. #
  40. # Set the default permissions for all log files.
  41. #
  42. $FileOwner syslog
  43. $FileGroup adm
  44. $FileCreateMode 0640
  45. $DirCreateMode 0755
  46. $Umask 0022
  47. $PrivDropToUser syslog
  48. $PrivDropToGroup syslog
  49.  
  50. #
  51. # Include all config files in /etc/rsyslog.d/
  52. #
  53. $IncludeConfig /etc/rsyslog.d/*.conf
  54.  
  55.