Red Hat ENTERPRISE LINUX 5.4 - SYSTEMTAP BEGINNERS GUIDE Technical Information Page 81

  • Download
  • Add to my manuals
  • Print
  • Page
    / 240
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 80
Analyzing and Managing System Log Files 67
ignore.conf
Filter for all lines that should globally be ignored by logwatch.
services/*.conf
The service directory holds configuration files for each service you can generate a
report for.
logfiles/*.conf
Specifications on which log files should be parsed for each service.
4.5 Using logger to Make System
Log Entries
logger is a tool for making entries in the system log. It provides a shell command
interface to the syslog(3) system log module. For example, the following line outputs
its message in /var/log/messages:
logger -t Test "This messages comes from $USER"
Depending on the current user and hostname, /var/log/messages contains a
line similar to this:
Sep 28 13:09:31 venus Test: This messages comes from tux
Page view 80
1 2 ... 76 77 78 79 80 81 82 83 84 85 86 ... 239 240

Comments to this Manuals

No comments