summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/logging.c
diff options
context:
space:
mode:
Diffstat (limited to 'libglusterfs/src/logging.c')
-rw-r--r--libglusterfs/src/logging.c14
1 files changed, 4 insertions, 10 deletions
diff --git a/libglusterfs/src/logging.c b/libglusterfs/src/logging.c
index 53311ac79..6f4eb1fb7 100644
--- a/libglusterfs/src/logging.c
+++ b/libglusterfs/src/logging.c
@@ -190,16 +190,10 @@ log:
else
basename = file;
- if (level >= GF_LOG_DEBUG) {
- fprintf (logfile, "[%s] %s [%s:%d:%s] %s: ",
- timestr, level_strings[level],
- basename, line, function,
- domain);
- } else {
- fprintf (logfile, "[%s] %s %s: ",
- timestr, level_strings[level],
- domain);
- }
+ fprintf (logfile, "[%s] %s [%s:%d:%s] %s: ",
+ timestr, level_strings[level],
+ basename, line, function,
+ domain);
vfprintf (logfile, fmt, ap);
va_end (ap);