Logs
Logging levels
Level | Numeric value | Value |
---|---|---|
TRACE | 8 | Very detailed debugging information. |
DEBUG | 7 | Debugging information for developers. |
INFO | 6 | Debugging information for collecting statistics. |
NOTICE | 5 | An event essential for the system or the user has occurred. |
WARN | 4 | This is a warning, it should be responded to and fixed unless it's temporary. |
ERROR | 3 | A non-critical error. |
CRIT | 2 | A critical state. |
ALERT | 1 | System degradation is possible, system components may fail. |
EMERG | 0 | System outage (for example, cluster failure) is possible. |
The logging level for different YDB components can be configured individually. For each component, either an explicitly set value or a default logging level value can be applied. The default logging level value can also be changed.
Changing the logging level
To change the logging level:
-
Follow the link in the format
http://<endpoint>:8765/cms
The
Cluster Management System
page opens. -
On the Configs tab, click on the
LogConfigItems
line. TheCreate new item
button will show up along with a list of already created configuration elements. -
Click
Create new item
to create a new configuration item (or click the pencil button to edit a previously created item). -
To change the default logging level, select the desired logging level from the
Level
drop-down list underDefault log settings
. -
To change the logging level for individual components, use the table under
Component log settings
. In the line with the name of the component whose logging level you want to change, in theComponent
column, select the desired logging level from the drop-down list in theLog level
column. -
To save changes, click
Submit