diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-08-16 17:03:07 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-08-16 17:05:02 +0100 |
commit | 95492aa853706b30d32c04bdbf6fc79b90de41e4 (patch) | |
tree | 77212bc11d9fccf84db2b7b10c71012417ed3422 /src/libutil/logger.c | |
parent | db25f46740511104bbe565f20914b4aabec7864e (diff) | |
download | rspamd-95492aa853706b30d32c04bdbf6fc79b90de41e4.tar.gz rspamd-95492aa853706b30d32c04bdbf6fc79b90de41e4.zip |
[Feature] Log URLs encrypted if we have log encryption pubkey
Diffstat (limited to 'src/libutil/logger.c')
-rw-r--r-- | src/libutil/logger.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/logger.c b/src/libutil/logger.c index a57eacfa6..0b90fb969 100644 --- a/src/libutil/logger.c +++ b/src/libutil/logger.c @@ -497,7 +497,7 @@ rspamd_common_logv (rspamd_logger_t *rspamd_log, gint level_flags, const gchar *fmt, va_list args) { gchar logbuf[RSPAMD_LOGBUF_SIZE], *end; - gint level = level_flags & (RSPAMD_LOG_LEVEL_MASK|G_LOG_LEVEL_MASK); + gint level = level_flags & (RSPAMD_LOG_LEVEL_MASK & G_LOG_LEVEL_MASK); if (rspamd_log == NULL) { rspamd_log = default_logger; |