manager: install sample logging config
This commit is contained in:
parent
630438ec13
commit
fc3d81748e
2 changed files with 5 additions and 1 deletions
|
@ -49,4 +49,8 @@ INSTALL(FILES
|
|||
DESTINATION /etc/spectrum2
|
||||
)
|
||||
|
||||
INSTALL(FILES
|
||||
manager-logging.cfg
|
||||
DESTINATION /etc/spectrum2
|
||||
)
|
||||
|
||||
|
|
|
@ -42,7 +42,7 @@ bool ManagerConfig::load(const std::string &configfile, boost::program_options::
|
|||
("database.password", value<std::string>()->default_value(""), "Database Password.")
|
||||
("database.port", value<int>()->default_value(0), "Database port.")
|
||||
("database.prefix", value<std::string>()->default_value(""), "Prefix of tables in database")
|
||||
("logging.config", value<std::string>()->default_value("/etc/spectrum2/logging.cfg"), "Logging configuration file")
|
||||
("logging.config", value<std::string>()->default_value("/etc/spectrum2/manager_logging.cfg"), "Logging configuration file")
|
||||
;
|
||||
|
||||
store(parse_config_file(ifs, opts), m_variables);
|
||||
|
|
Loading…
Add table
Reference in a new issue