A same user can have multiple sessions if they log in to BlueCat Gateway on multiple computers or browsers.
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:
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.