OpenShift Logging Levels: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
* [[OpenShift Configuration#Subjects|OpenShift Configuration]] | * [[OpenShift Configuration#Subjects|OpenShift Configuration]] | ||
=Overview= | |||
OpenShift components log levels can be controlled via their --loglevel parameter. This parameter can be set in the OPTIONS for the relevant component's configuration within /etc/sysconfig. After changing the log level, restart with | |||
systemctl restart <''component-name''> | |||
For more details see [[OpenShift Runtime]]. | |||
Log levels: | |||
* 0: Disabled | |||
* 1: Errors | |||
* 2: Warnings | |||
* 3: Info | |||
* 4: Verbose | |||
* 5: Debug |
Revision as of 23:39, 12 October 2017
External
Internal
Overview
OpenShift components log levels can be controlled via their --loglevel parameter. This parameter can be set in the OPTIONS for the relevant component's configuration within /etc/sysconfig. After changing the log level, restart with
systemctl restart <component-name>
For more details see OpenShift Runtime.
Log levels:
- 0: Disabled
- 1: Errors
- 2: Warnings
- 3: Info
- 4: Verbose
- 5: Debug