Commented loggings as currently logging is broken.

This commit is contained in:
Klaas Freitag 2012-12-04 18:41:20 +01:00
parent b428b46ff8
commit aaa8fe6e34

View file

@ -361,7 +361,7 @@ int csync_vio_local_stat(const char *uri, csync_vio_file_stat_t *buf) {
FILE_ATTRIBUTE_NORMAL+FILE_FLAG_BACKUP_SEMANTICS, NULL ); FILE_ATTRIBUTE_NORMAL+FILE_FLAG_BACKUP_SEMANTICS, NULL );
if( h == INVALID_HANDLE_VALUE ) { if( h == INVALID_HANDLE_VALUE ) {
DWORD err = GetLastError(); DWORD err = GetLastError();
CSYNC_LOG(CSYNC_LOG_PRIORITY_DEBUG, "ERR: Failed to create a handle for %s: %ld", uri,err ); /* CSYNC_LOG(CSYNC_LOG_PRIORITY_DEBUG, "ERR: Failed to create a handle for %s: %ld", uri,err ); */
} else { } else {
FILETIME ftCreate, ftAccess, ftWrite; FILETIME ftCreate, ftAccess, ftWrite;
SYSTEMTIME stUTC; SYSTEMTIME stUTC;
@ -389,7 +389,7 @@ int csync_vio_local_stat(const char *uri, csync_vio_file_stat_t *buf) {
buf->fields |= CSYNC_VIO_FILE_STAT_FIELDS_ATIME; buf->fields |= CSYNC_VIO_FILE_STAT_FIELDS_ATIME;
buf->mtime = FileTimeToUnixTime(&ftWrite, &rem); buf->mtime = FileTimeToUnixTime(&ftWrite, &rem);
CSYNC_LOG(CSYNC_LOG_PRIORITY_DEBUG, "Local File MTime: %llu", (unsigned long long) buf->mtime ); /* CSYNC_LOG(CSYNC_LOG_PRIORITY_DEBUG, "Local File MTime: %llu", (unsigned long long) buf->mtime ); */
buf->fields |= CSYNC_VIO_FILE_STAT_FIELDS_MTIME; buf->fields |= CSYNC_VIO_FILE_STAT_FIELDS_MTIME;
buf->ctime = FileTimeToUnixTime(&ftCreate, &rem); buf->ctime = FileTimeToUnixTime(&ftCreate, &rem);