summaryrefslogtreecommitdiffstats
path: root/filedistribution
diff options
context:
space:
mode:
authorArne H Juul <arnej@yahoo-inc.com>2017-06-15 15:17:43 +0200
committerArne H Juul <arnej@yahoo-inc.com>2017-06-17 15:34:15 +0200
commit3450e8da2afd571c24f034e2fb3dc48558a2894e (patch)
tree2cccdb4c7c559753227f724a096e26b829d545b4 /filedistribution
parent0180331b0a58aad563b0a6a68fdc8b45aa7e703c (diff)
create and use underVespaHome
Diffstat (limited to 'filedistribution')
-rw-r--r--filedistribution/src/vespa/filedistribution/model/zkfacade.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/filedistribution/src/vespa/filedistribution/model/zkfacade.cpp b/filedistribution/src/vespa/filedistribution/model/zkfacade.cpp
index 29ca5da7868..ffc82caf4b2 100644
--- a/filedistribution/src/vespa/filedistribution/model/zkfacade.cpp
+++ b/filedistribution/src/vespa/filedistribution/model/zkfacade.cpp
@@ -585,8 +585,7 @@ ZKFacade::disableRetries() {
ZKLogging::ZKLogging() :
_file(nullptr)
{
- std::string filename(vespa::Defaults::vespaHome());
- filename.append("/tmp/zookeeper.log");
+ std::string filename = vespa::Defaults::underVespaHome("tmp/zookeeper.log");
_file = std::fopen(filename.c_str(), "w");
if (_file == nullptr) {
LOGFWD(error, "Could not open file '%s'", filename.c_str());