[
https://issues.apache.org/jira/browse/ZOOKEEPER-1952?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hari Krishna Dara updated ZOOKEEPER-1952:
-----------------------------------------
Attachment: ZOOKEEPER-1952-2.patch
Other than regenerating the original patch against latest trunk, I made the
following additional changes:
- Renamed ZOOKEEPER_LOGFILE to ZOO_LOG_FILE to be consistent with the rest
- There was a typo in the original patch where ZOOKEEPR_LOGFILE was used in 3
different places, I changed these also to ZOO_LOG_FILE.
- I reverted the change to logger configuration. The current default logger is
actually consistent with the other related projects such as hadoop and hbase.
- Changed the log and out filenames to be more consistent with other sister
projects, basically to "zookeeper-$USER-$COMP-$HOST" from
"zookeeper-$COMP-$USER-$HOST" which was the case in the original patch.
> Default log directory and file name can be changed
> --------------------------------------------------
>
> Key: ZOOKEEPER-1952
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1952
> Project: ZooKeeper
> Issue Type: Bug
> Affects Versions: 3.4.6
> Reporter: nijel
> Assignee: nijel
> Priority: Minor
> Fix For: 3.5.1
>
> Attachments: ZOOKEEPER-1952-1.patch, ZOOKEEPER-1952-2.patch
>
>
> The log folder and log file name is configurable now.
> The default log folder is "." in distribution. So the log file
> (zookeeper.out) will be placed in bin folder
> Can this be changed to <zk_home>/logs/zookeeperserver-<hostname>.log ?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)