Skip to Main Content
Linux Server Security, Second Edition
book

Linux Server Security, Second Edition

by Michael D. Bauer
January 2005
Intermediate to advanced content levelIntermediate to advanced
544 pages
23h 44m
English
O'Reilly Media, Inc.
Content preview from Linux Server Security, Second Edition
This is the Title of the Book, eMatter Edition
Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.
Testing System Logging with logger
|
435
and the global options time_reap( ), time_reopen( ), gc_idle_threshold( ),andgc_
busy_threshold( )
are useful for tuning syslog-ng’s performance to fit your particular
environment.
The official (maintained) documentation for Syslog-ng is the Syslog-ng Reference
Manual. PostScript, SGML, HTML, and ASCII text versions of this document are
included in the /doc directory of Syslog-ng’s source-code distribution.
For advanced or otherwise unaddressed issues, the best source of Sys-
log-ng information is the Syslog-ng mailing list and its archives. See
http://lists.balabit.hu/mailman/listinfo/syslog-ng for subscription infor-
mation and archives.
Testing System Logging with logger
Before we leave the topic of system-logger configuration and use, we should cover a
tool you can use to test your new configurations, regardless of whether you use sys-
log or Syslog-ng: logger. logger is a command-line application that sends messages to
the system logger. In addition to being a good diagnostic tool, logger is especially
useful for adding logging functionality to shell scripts.
The usage we’re interested in here, of course, is diagnostics. It’s easiest to explain
how to use logger with an example.
Suppose you’ve just reconfigured syslog to send all daemon messages ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Linux: Powerful Server Administration

Linux: Powerful Server Administration

Uday Sawant, Oliver Pelz, Jonathan Hobson, William Leemans
Linux Server Hacks

Linux Server Hacks

Rob Flickenger
Linux Server Hacks, Volume Two

Linux Server Hacks, Volume Two

William von Hagen, Brian K. Jones

Publisher Resources

ISBN: 0596006705Supplemental ContentCatalog PageErrata