You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Zhanghao Chen (Jira)" <ji...@apache.org> on 2023/09/28 06:03:00 UTC

[jira] [Updated] (FLINK-33166) Support setting root logger level by config

     [ https://issues.apache.org/jira/browse/FLINK-33166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zhanghao Chen updated FLINK-33166:
----------------------------------
    Description: 
Users currently cannot change logging level by config and have to modify the cumbersome logger configuration file manually. We'd better provide a shortcut and support setting root logger level by config. There're a number configs already to set logger configurations, like {{env.log.dir}} for logging dir, {{env.log.max}} for max number of old logging file to save. We can name the new config {{{}env.log.level{}}}.

Multiple loggers are configured in the configuration files, some with different logging level from the root logger to reduce irrelevant logs. In most cases, only the root logger is relevant. We can make {{env.log.level}} applies to the root logger only for simplicity.

  was:
Users currently cannot change logging level by config and have to modify the cumbersome logger configuration file manually. We'd better provide a shortcut and support setting root logger level by config.

There're a number configs already to set logger configurations, like {{env.log.dir}} for logging dir, {{env.log.max}} for max number of old logging file to save. We can name the new config {{{}env.log.level{}}}.


> Support setting root logger level by config
> -------------------------------------------
>
>                 Key: FLINK-33166
>                 URL: https://issues.apache.org/jira/browse/FLINK-33166
>             Project: Flink
>          Issue Type: Improvement
>          Components: Runtime / Configuration
>            Reporter: Zhanghao Chen
>            Priority: Major
>
> Users currently cannot change logging level by config and have to modify the cumbersome logger configuration file manually. We'd better provide a shortcut and support setting root logger level by config. There're a number configs already to set logger configurations, like {{env.log.dir}} for logging dir, {{env.log.max}} for max number of old logging file to save. We can name the new config {{{}env.log.level{}}}.
> Multiple loggers are configured in the configuration files, some with different logging level from the root logger to reduce irrelevant logs. In most cases, only the root logger is relevant. We can make {{env.log.level}} applies to the root logger only for simplicity.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)