Add a visible log entry at program start, easier to read log output.

This commit is contained in:
Klaas Freitag 2012-08-17 16:42:23 +03:00
parent 0147063090
commit bac0002eeb

View file

@ -63,6 +63,7 @@ static int _csync_lock_create(const char *lockfile) {
goto out;
}
CSYNC_LOG(CSYNC_LOG_PRIORITY_TRACE, "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX");
CSYNC_LOG(CSYNC_LOG_PRIORITY_TRACE, "Create temporary lock file: %s", ctmpfile);
if ((fd = mkstemp(ctmpfile)) < 0) {
strerror_r(errno, errbuf, sizeof(errbuf));