There are two types of loggers used in BlueCat Gateway: app.logger and g.user.logger.
- app.logger - general-purpose logger
- g.user.logger - session-specific logger
Messages about the application are logged with app.logger or the general-purpose logger. This logger is particularly useful for the Gateway platform developers to log events that are happening while the application is running, such as a raised exception.
Workflows execute in the context of a session, so the application, plugin, or workflow developers should use the g.user.logger or the session-specific logger to write log messages for events that occurred during the session.