Changeset - 18410fbf8572
[Not reviewed]
0 1 0
Jan Kaluza - 9 years ago 2016-02-08 15:18:03
jkaluza@redhat.com
Libtransport: Make the error message more verbose when we are not able to load [logging] files
1 file changed with 2 insertions and 0 deletions:
0 comments (0 inline, 0 general)
libtransport/Logging.cpp
Show inline comments
 
@@ -112,9 +112,11 @@ static void initLogging(Config *config, std::string key, bool only_create_dir =
 
		}
 
		catch(log4cxx::helpers::IOException &ex) {
 
			std::cerr << "Can't create FileInputStream logger instance: " << ex.what() << "\n";
 
			std::cerr << "This is usually caused by the non-existing \"" << CONFIG_STRING(config, key) << "\" file or bad permissions.\n";
 
		}
 
		catch (...) {
 
			std::cerr << "Can't create FileInputStream logger instance\n";
 
			std::cerr << "This is usually caused by the non-existing \"" << CONFIG_STRING(config, key) << "\" file or bad permissions.\n";
 
		}
 

	
 
		if (!istream) {
0 comments (0 inline, 0 general)