Adding querylogging channels - BlueCat Address Manager - 9.2.0

Address Manager Administration Guide

prodname
BlueCat Address Manager
version_custom
9.2.0

This task describes how to add querylogging channels.

You must enable querylogging prior to adding a querylogging channel.

When you create a querylogging channel, you must specify the mandatory parameters:

  • a channel name
  • a name for the channel log file
  • the maximum number of versions of the file to create
  • a file size (in MB)
  • a severity level
  • a message category

You must also specify whether the logging system should mark each entry with its time, severity level, and category.

To add a querylogging channel:

  1. Log in to the DNS/DHCP Server Administration Console as the administrator. For more information on default login credential, refer to BlueCat default login credentials (you must be authenticated to view this topic).
  2. From Main Session mode, type configure querylogging and press ENTER.
  3. Type add channel <channelname> and press ENTER.
    The prompt changes to indicate you are now within the newly created channel.
  4. Type add <category> and press ENTER. For complete list of available channel categories, refer to Available channel categories for querylogging. To add multiple categories to the log file, repeat this step.
  5. Type set file <filename>.txt and press ENTER.
  6. Type set version <1/2/3> and press ENTER. This is the number of input versions (1, 2 or 3) for the log file.
  7. Type set size <numerical-value> and press ENTER. This is the maximum size for the log file in MB.
  8. Type set severity <critical/error/warning/notice/info/debug/dynamic> and press ENTER. You can only set one severity level per log file.
  9. Type set printtime <yes/no> and press ENTER. This applies a timestamp to each event saved to the log file.
  10. Type set printseverity <yes/no> and press ENTER. This applies the selected severity value to the event in the log file.
  11. Type set printcategory <yes/no> and press ENTER. This applies the selected category to the event in the log file.
  12. Type save and press ENTER. The Administration Console saves your settings.
Adonis> configure querylogging
Adonis:configure:querylogging> add channel view1
Adonis:configure:querylogging:view1>add category database
Adonis:configure:querylogging:view1>add category config
Adonis:configure:querylogging:view1>set file db_log.txt
Adonis:configure:querylogging:view1>set version 2
Adonis:configure:querylogging:view1>set size 2
Adonis:configure:querylogging:view1>set severity critical
Adonis:configure:querylogging:view1>set printtime yes
Adonis:configure:querylogging:view1>set printseverity yes
Adonis:configure:querylogging:view1>set printcategory yes
Adonis:configure:querylogging:view1>save
Save channel details for view1