Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Implemented
-
None
Description
(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.
Attachments
Issue Links
- is related to
-
HDDS-2042 Avoid log on console with Ozone shell
- Resolved
-
HDDS-2295 Display log of freon on the standard output
- Resolved
-
HDDS-7104 Remove WARNINGs while running ozone fs/CLI commands
- Resolved
-
HDDS-7153 User defined override of ozone shell hardcoded values for log files
- Resolved
- links to