diff options
author | Arne H Juul <arnej@yahoo-inc.com> | 2017-06-15 15:17:43 +0200 |
---|---|---|
committer | Arne H Juul <arnej@yahoo-inc.com> | 2017-06-17 15:34:15 +0200 |
commit | 3450e8da2afd571c24f034e2fb3dc48558a2894e (patch) | |
tree | 2cccdb4c7c559753227f724a096e26b829d545b4 /filedistribution | |
parent | 0180331b0a58aad563b0a6a68fdc8b45aa7e703c (diff) |
create and use underVespaHome
Diffstat (limited to 'filedistribution')
-rw-r--r-- | filedistribution/src/vespa/filedistribution/model/zkfacade.cpp | 3 |
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()); |