You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Attila Doroszlai (Jira)" <ji...@apache.org> on 2022/10/26 19:07:00 UTC
[jira] [Created] (HDDS-7421) Respect OZONE_LOGLEVEL and OZONE_ROOT_LOGGER for CLI commands
Attila Doroszlai created HDDS-7421:
--------------------------------------
Summary: 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
(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