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

Attila Doroszlai updated HDDS-7421:
-----------------------------------
    Status: Patch Available  (was: In Progress)

> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to