diff options
author | Marcin Siodelski <marcin@isc.org> | 2014-08-12 14:35:02 +0200 |
---|---|---|
committer | Marcin Siodelski <marcin@isc.org> | 2014-08-12 14:35:02 +0200 |
commit | 040d3d447fe36ac42f8578a3520f8e660b8e77f5 (patch) | |
tree | 78db3a2a9381cb7d592e9777e303b0e9e28754cd /src/bin/keactrl | |
parent | [3507] Renamed B10_CXXFLAGS to KEA_CXXFLAGS. (diff) | |
download | kea-040d3d447fe36ac42f8578a3520f8e660b8e77f5.tar.xz kea-040d3d447fe36ac42f8578a3520f8e660b8e77f5.zip |
[3507] Renamed B10_LOGGER_DESTINATION to KEA_LOGGER_DESTINATION in keactrl.
Diffstat (limited to 'src/bin/keactrl')
-rw-r--r-- | src/bin/keactrl/keactrl.in | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/bin/keactrl/keactrl.in b/src/bin/keactrl/keactrl.in index ca10b503f6..37d2121295 100644 --- a/src/bin/keactrl/keactrl.in +++ b/src/bin/keactrl/keactrl.in @@ -166,12 +166,14 @@ run_conditional() { ### Script starts here ### # Configure logger to log messages into the file. -# Do not set destination if the B10_LOGGER_DESTINATION is set, +# Do not set destination if the KEA_LOGGER_DESTINATION is set, # because a unit test could have set this to some other location. -# @todo Rely on the Kea configuration file once #3427 is done. -if [ -z ${B10_LOGGER_DESTINATION} ]; then +# Note that when the configuration is applied this location may be +# altered and only the handful of initial messages will be logged +# to the default file. +if [ -z ${KEA_LOGGER_DESTINATION} ]; then prefix=@prefix@ - export B10_LOGGER_DESTINATION=@localstatedir@/@PACKAGE@/kea.log + export KEA_LOGGER_DESTINATION=@localstatedir@/@PACKAGE@/kea.log fi command=${1} |