Improve emergency log file message slightly.
authorCarl Hetherington <cth@carlh.net>
Mon, 10 Feb 2014 17:48:32 +0000 (17:48 +0000)
committerCarl Hetherington <cth@carlh.net>
Mon, 10 Feb 2014 17:48:32 +0000 (17:48 +0000)
src/lib/log.cc

index e79f0e201ca69cfab04a0a9db453cd1c95810dc0..a0b031589bf1836080c98c170c2fde1860df8dfe 100644 (file)
@@ -105,7 +105,7 @@ FileLog::do_log (string m)
 {
        FILE* f = fopen_boost (_file, "a");
        if (!f) {
-               cout << m << "\n";
+               cout << "(could not log to " << _file.string() << "): " << m << "\n";
                return;
        }