Changeset - fc3d81748eb3
[Not reviewed]
0 2 0
vitalyster - 9 years ago 2016-01-21 13:04:13
vitalyster@gmail.com
manager: install sample logging config
2 files changed with 5 insertions and 1 deletions:
0 comments (0 inline, 0 general)
spectrum/src/CMakeLists.txt
Show inline comments
 
@@ -49,4 +49,8 @@ INSTALL(FILES
 
	DESTINATION /etc/spectrum2
 
	)
 

	
 
INSTALL(FILES
 
	manager-logging.cfg
 
	DESTINATION /etc/spectrum2
 
	)
 

	
spectrum_manager/src/managerconfig.cpp
Show inline comments
 
@@ -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);
0 comments (0 inline, 0 general)