Solstice AutoClient 2.1 Administration Guide

Logging Host Manager Operations

You can set up a log file to record each major operation completed with Host Manager or its command-line equivalents. After you enable logging, the date, time, server, user ID (UID), and description for every operation are written to the specified log file.

You need to follow the procedure described in "How to Enable Logging of Host Manager Operations" on each server where you run the Host Manager and want to maintain a logging file.

How to Enable Logging of Host Manager Operations

You do not need to quit Host Manager or the Solstice Launcher, if they are already started.

  1. Become root.

  2. Edit the /etc/syslog.conf file and add an entry at the bottom of the file that follows this format:


    user.info filename
    

    Note that filename must be the absolute path name of the file, for example: /var/log/admin.log.

  3. Create the file, filename, if it does not already exist:


    # touch filename
    
  4. Make the changes to the /etc/syslog.conf file take effect by stopping and starting the syslog service:


    # /etc/init.d/syslog stop
    Stopping the syslog service.
    # /etc/init.d/syslog start
    syslog service starting.
    #

    Solstice AdminSuite operations will now be logged to the file you specified.

Example of a Host Manager Log File


Aug 30 10:34:23 lorna Host Mgr: [uid=100] Get host prototype
Aug 30 10:34:52 lorna Host Mgr: [uid=100] Adding host: frito
Aug 30 10:35:37 lorna Host Mgr: [uid=100] Get host prototype
Aug 30 10:35:59 lorna Host Mgr: [uid=100] Deleting host frito
Aug 30 10:36:07 lorna Host Mgr: [uid=100] Modifying sinister with
sinister
Aug 30 14:39:21 lorna Host Mgr: [uid=0] Read hosts
Aug 30 14:39:43 lorna Host Mgr: [uid=0] Get timezone for lorna
Aug 30 14:39:49 lorna Host Mgr: [uid=0] Get host prototype
Aug 30 14:40:01 lorna Host Mgr: [uid=0] List supported
architectures for lorna dirpath=/cdrom/cdrom0/s0