Compare commits
2 Commits
f57f9f9177
...
develop
Author | SHA1 | Date | |
---|---|---|---|
937253f7aa | |||
98df7d2a74 |
@@ -99,14 +99,18 @@ int main(int argc, char* argv[]) {
|
||||
|
||||
LOGGER(DEFAULT)::print_time() = false;
|
||||
LOGGER(connection)::print_time() = false;
|
||||
LOGGER(dbt_rise_iss)::print_time() = false;
|
||||
|
||||
auto l = logging::as_log_level(clim["verbose"].as<int>());
|
||||
LOGGER(DEFAULT)::reporting_level() = l;
|
||||
LOGGER(connection)::reporting_level() = l;
|
||||
LOGGER(dbt_rise_iss)::reporting_level() = l;
|
||||
if(clim.count("logfile")) {
|
||||
// configure the connection logger
|
||||
auto f = fopen(clim["logfile"].as<std::string>().c_str(), "w");
|
||||
LOG_OUTPUT(DEFAULT)::stream() = f;
|
||||
LOG_OUTPUT(connection)::stream() = f;
|
||||
LOG_OUTPUT(dbt_rise_iss)::stream() = f;
|
||||
}
|
||||
|
||||
std::vector<iss::vm_plugin*> plugin_list;
|
||||
|
Reference in New Issue
Block a user