CP+ 3.x Documentation Admin Guide

System Logs

Related Docs:   Logging In As CP+ Admin

In many cases it is useful to log system messages from scripts. The System Logs option provides a method for controlling syslogd, system logging daemon, that is used on most Unix system to provide standard logging functions. You can configure existing and add new system logs via CP+.

 

Configuring Existing System Logs

To configure system logging:

  1. Log into CP+ at http://cpplus_host:10000/ as admin with your server root password.
  2. Go to the System Administration CP+ mode and click the System Logs icon in the Server Management section.
  3. You will see a list of all currently existing logs.
    • Click the needed file in the Log destination column to edit the log file properties;
    • Click view to set a configurable number of lines and view the lines listed from the end of the log file;
    • Active section shows if the system log is activated;
    • Messages selected shows type of message logged.
  4. To add a new system log, click Add a new system log.
 

Adding a System Log

Once you clicked the Add a new system log link, you will see the following form to be filled:

  • The Log to option configures the destination of the log file: a file, a named pipe, a remote syslog server, or to the console of some or all local users.
  • Checking the Sync after each message? option will cause the syslog daemon to flush to disk after every entry overriding the disk I/O buffering provided by the OS.
  • Logging active?: if disabled, log is simply commented out in the /etc/syslog.conf file with a hash mark, so the configuration details remain in the file even though it is no longer an active logging entry.
  • Facilities specify the type of program generating the log, such as mail, daemon, cron or locally definable facilities, named local0 through local7.
  • Priorities show the level of message on a scale of debug to emergency.

Once you configured a new system log, click Save to preserve settings.



Related Docs:   Logging In As CP+ Admin


Home   Features   Pricing   Resellers   Docs   News   Contact
© Copyright 1998-2006. Positive Software Corporation.
All rights reserved.
Disclaimer