You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/10/26 19:21:00 UTC

[jira] [Updated] (HDDS-7421) Respect OZONE_LOGLEVEL and OZONE_ROOT_LOGGER for CLI commands

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

ASF GitHub Bot updated HDDS-7421:
---------------------------------
    Labels: pull-request-available  (was: )

> Respect OZONE_LOGLEVEL and OZONE_ROOT_LOGGER for CLI commands
> -------------------------------------------------------------
>
>                 Key: HDDS-7421
>                 URL: https://issues.apache.org/jira/browse/HDDS-7421
>             Project: Apache Ozone
>          Issue Type: Improvement
>          Components: Ozone CLI
>            Reporter: Attila Doroszlai
>            Assignee: Attila Doroszlai
>            Priority: Major
>              Labels: pull-request-available
>
> (Some) Ozone CLI commands log to {{ozone-shell.log}} instead of the console.  The goal was to reduce output clutter, but it causes problems due to file ownership.
> Other Ozone commands use a log config inherited from Hadoop, which allows customising root logger and default log level via environment variables OZONE_ROOT_LOGGER and OZONE_LOGLEVEL.
> The goal of this task is to get rid of the custom config for CLI, scrap {{ozone-shell.log}}, and respect these environment variables.  CLI commands should disable logging by default.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org