Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Ambari server script is using hard coded path to load log4.properties file
*serverConfiguration.py*
self.OUT_DIR = parse_log4j_file(AmbariPath.get("/etc/ambari-server/conf/log4j.properties"))['ambari.log.dir’]
In case Ambari server is installed to other than the default location amber
server script won't be able to load log4j.properties
get_conf_dir() should be used to determine the path of log4j.properties
file.
e.g.
self.OUT_DIR = parse_log4j_file(get_conf_dir() + "/log4j.properties"))['ambari.log.dir’]
Attachments
Attachments
Issue Links
- links to