From Admin Studio, you can select which log messages to write to your log files by associating log levels with your categories.
The log level of a category determines which messages are written to the log file. When you create a log category and set its default log level, these selections apply to all nodes in the cluster and they persist until you change them. The default log level applies to all the loggers that you associate with your category.
To view log categories, you must have the
and to edit log categories, you must have the
- Changing log levels for custom log categories
Change the number of log messages that are written to the log file by changing the log level of your custom log categories. For example, if the default log level for your category is OFF, no log messages are written to the log file. To include severe errors in the log file, set the log level to FATAL.
- Log levels for log categories
You can select which log messages your log files include by creating log categories and associating log levels with your categories.
- Restoring log level default values
You can restore the default log levels of all your custom categories at once by resetting their log levels.
- Setting log levels for individual loggers
When you create a log category, all the loggers that you associate with this category have the same log level. You can assign a different log level to individual loggers.