Using the Accounting Console Logging Feature

Using the Accounting Console Logging Feature

Description

When console logging is enabled, the accounting component displays the accounting events on the server console as they occur. This can be useful for viewing events on a console terminal or printer. It is also possible to view (and log to a file) the console events remotely. If you place a loopback connector on the access server console port and associate a LAT service or Telnet listener with this port, you can connect to the port and view the console messages remotely.

LAT Remote View of the Accounting Log

The following example shows the commands necessary to remotely view the accounting log messages with a LAT service and loopback connector on port 16 of the access server:

Local> CHANGE PORT 16 ACCESS REMOTE

Local> CHANGE PORT 16 AUTOBAUD DISABLED SPEED 57600

Local> CHANGE SERVICE ACCTREMOTE PORT 16 CONNECTION ENABLED

Local> CHANGE SERVER CONSOLE 16

Local> CHANGE SERVER SERVICE GROUP 255

From a remote OpenVMS system, type:

$ MCT LATCP SET NODE/GROUP=(ENABLE=255)

$ SET HOST/LAT/AUTOCONNECT/LOG=ACCT.LOG ACCTREMOTE

This causes the accounting events to be displayed on the remote screen and logged to the file ACCT.LOG.

Accounting 23-15