Commit 59aded45 authored by Steven Murray's avatar Steven Murray
Browse files

exceptionThrowingMain() of taped now sets the log mask to that of cta.conf

parent 315f742b
......@@ -109,6 +109,9 @@ static int exceptionThrowingMain(
// Parse /etc/cta/cta.conf and /etc/cta/TPCONFIG for global parameters
const TapedConfiguration globalConfig =
TapedConfiguration::createFromCtaConf(commandLine.configFileLocation, log);
// Adjust log mask to the log level potentionally set in the configuration file
log.setLogMask(globalConfig.logLevel.value());
// Create the object providing utilities for working with UNIX capabilities
cta::server::ProcessCap capUtils;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment