User session logs - Platform - BlueCat Gateway - 22.4.1

Gateway Administration Guide

Locale
English (United States)
Product name
BlueCat Gateway
Version
22.4.1

A same user can have multiple sessions if they log in to BlueCat Gateway on multiple computers or browsers.

Note: BlueCat recommends that you not exceed 1500 concurrent user sessions when working with BlueCat Gateway.

Workflow, application, or plugin developers can write log messages to the user session logs as part of their workflow. The user session logger object can be accessed by:

g.user.logger

as long as the g.user object exists and is not None. The logger object automatically includes the username in all log messages created for the users' session and a timestamp for when the message was logged. For more details regarding the format refer to Configuring the BlueCat Gateway.

The logger supports five different levels of log messages. They are as follows in order of increasing severity:

g.user.logger.debug('message')
g.user.logger.info('message')
g.user.logger.warning('message')
g.user.logger.error('message')
g.user.logger.critical('message')

You can maintain logging configuration through the configuration workflow.