[
https://issues.apache.org/jira/browse/HDDS-5803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17648712#comment-17648712
]
Nandakumar commented on HDDS-5803:
----------------------------------
Thanks [~zitadombi] & [~adoroszlai] for the detailed analysis.
We don't have to refactor and change {{hadoop.log.dir}} to {{ozone.log.dir}}.
As you mentioned, it will be a big change and will also break backward
compatibility.
In addition to the existing option, we can add support for {{ozone.log.dir}}
The order of precedence will be as follows
* {{ozone.log.dir}} JVM argument
* {{OZONE_LOG_DIR}} environment variable
* {{hadoop.log.dir}} JVM argument
* {{HADOOP_LOG_DIR}} (Deprecated)
* {{${OZONE_HOME}/logs}} (Fallback)
We can mark {{hadoop.log.dir}} as deprecated.
> Support "ozone.log.dir" property for configuring log location
> -------------------------------------------------------------
>
> Key: HDDS-5803
> URL: https://issues.apache.org/jira/browse/HDDS-5803
> Project: Apache Ozone
> Issue Type: Improvement
> Reporter: Nandakumar
> Assignee: Zita Dombi
> Priority: Major
>
> Currently, we only support OZONE_LOG_DIR environmental variable for setting
> the log directory for Ozone.
> This jira is for adding "ozone.log.dir" JVM argument in addition to
> OZONE_LOG_DIR environmental variable for setting the log directory for Ozone.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]