Creating log categories

Structure log messages into categories by creating custom log categories. Grouping loggers into categories makes it easier to manage log levels of loggers, because you do not have to remember the names of individual loggers.

Before you begin: To edit log categories, you must have the pzLogLevelAdministrator privilege.
  1. In Dev Studio, click Records > SysAdmin > Log Category, and then click Create.
  2. Enter a short description and a logger category name, and then click Create and open.
  3. Enter a description of your log category.
  4. From the Log Level dropdown list, select a default log level for your category.
    The default log level determines which log messages are written to the log file and applies to all the loggers associated with the category. For more information, see Log levels for log categories.
  5. Associate loggers with your category by clicking +Add logger and entering logger names in the Logger Name field.
  6. Click Save.
    For more information about log categories, see Log categories on Pega Community.