minor change in logging: avoid duplicated "Error: "
authorChristian Herdtweck <christian.herdtweck@intra2net.com>
Tue, 30 Dec 2014 17:14:41 +0000 (18:14 +0100)
committerChristian Herdtweck <christian.herdtweck@intra2net.com>
Tue, 30 Dec 2014 17:14:41 +0000 (18:14 +0100)
src/config/configurationfile.cpp

index 91e2303..99b8ebd 100644 (file)
@@ -78,8 +78,9 @@ bool ConfigurationFile::process( variables_map *vm )
         ifs.open( FileName.c_str() );
         if ( !ifs.good() )
         {
-            GlobalLogger.error() << "Error: could not open " << FileName
-                    << " file." << endl;
+            GlobalLogger.error() << "Could not open " << FileName
+                    << " file. Specify using argument --config-file"
+                    << endl;
             return false;
         }
 
@@ -95,7 +96,7 @@ bool ConfigurationFile::process( variables_map *vm )
     }
     catch ( const invalid_option_value &e )
     {
-        GlobalLogger.error() << "Error: invalid option value exception thrown parsing config file:"
+        GlobalLogger.error() << "Invalid option value exception thrown parsing config file:"
                 << e.what() << endl;
         return false;
     }