Commit e5794ee5 authored by sikeda's avatar sikeda
Browse files

[-feature] A bit more precise logging for the messages created by...

[-feature] A bit more precise logging for the messages created by Sympa::Message::new_from_template().


git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-6.2-branch@12307 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
parent 14580d7f
......@@ -462,12 +462,15 @@ sub new_from_template {
$self->{messagekey} = $marshalled;
$log->syslog(
'notice',
'Processing %s; message_id=%s; recipients=%s; sender=%s; template=%s',
'Processing %s; message_id=%s; recipients=%s; sender=%s; template=%s; %s',
$self,
$self->{message_id},
$who,
$self->{sender},
$tpl
$tpl,
join('; ',
map { $data->{$_} ? ("$_=$data->{$_}") : () }
qw(type action reason status))
);
return $self;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment