summaryrefslogtreecommitdiff
path: root/src/debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/debug.h')
-rw-r--r--src/debug.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/debug.h b/src/debug.h
index 103d47b..64626eb 100644
--- a/src/debug.h
+++ b/src/debug.h
@@ -24,20 +24,6 @@ extern FILE* dbgfile;
fflush(stdout); \
} while (0)
-/**
- * Calling syslog() will deadlock if the filesystem is for /etc or /var.
- * This is a bit unexpected, since I thought it would just write into a buffer
- * and then the syslog-daemon would then independetely of the unionfs thread
- * write it's log entry. However, it seems the syslog() call waits for until
- * the log entry is written, which will cause a deadlock, of course.
- * Until we find a solution for that, we simply disable syslogs.
- * The only sane solution comming presently into my mind is to write into
- * a buffer and then to have an independent thread which will flush this buffer
- * to syslog. Other suggestions are welcome, of course!
- */
-#define usyslog(priority, format, ...) DBG(format, ##__VA_ARGS__)
-
-
#define RETURN(returncode) \
do { \
if (uopt.debug) DBG("return %d\n", returncode); \