User session logs - Platform - BlueCat Gateway - 20.1.1

Gateway Administration Guide

prodname
BlueCat Gateway
version_custom
20.1.1

Logs are also generated on a per user session basis. The same user can have multiple sessions if they log in to BlueCat Gateway on multiple computers or browsers. Each session will generate its own log. The logs can be found by default in the /logs/execution_logs directory.

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

Workflow designers 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 5 different levels of log messages. They are as follows in 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.