summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2017-01-30 11:32:18 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2017-01-30 11:32:18 +0200
commitee60e76b694a73b14f2e31ece85324847e0fc57f (patch)
tree9fad46e6bbb41cd42b7ee74c20bddaa014211cdf /lib
parentfe6c328bb2819bd3144b1f2aef3e975923037f65 (diff)
downloadmailutils-ee60e76b694a73b14f2e31ece85324847e0fc57f.tar.gz
mailutils-ee60e76b694a73b14f2e31ece85324847e0fc57f.tar.bz2
Log sieve source location in maidag
* lib/sieve.c (_sieve_action_log): Log source location
Diffstat (limited to 'lib')
-rw-r--r--lib/sieve.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/sieve.c b/lib/sieve.c
index d5dadef45..a5ebac854 100644
--- a/lib/sieve.c
+++ b/lib/sieve.c
@@ -37,7 +37,8 @@ _sieve_action_log (mu_sieve_machine_t mach,
mu_message_t msg = mu_sieve_get_message (mach);
mu_sieve_get_diag_stream (mach, &stream);
- mu_stream_printf (stream, "\033s<%d>", MU_LOG_NOTICE);
+ mu_stream_printf (stream, "\033s<%d>\033O<%d>", MU_LOG_NOTICE,
+ MU_LOGMODE_LOCUS);
if (ldat)
{

Return to:

Send suggestions and report system problems to the System administrator.