projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
RT#38217 Send email when logging conditions are met [added null_right and msgtype]
[freeside.git]
/
FS
/
FS
/
log.pm
diff --git
a/FS/FS/log.pm
b/FS/FS/log.pm
index
18ba7c9
..
769d6fc
100644
(file)
--- a/
FS/FS/log.pm
+++ b/
FS/FS/log.pm
@@
-110,6
+110,7
@@
sub insert {
next;
}
my $emailerror = $msg_template->send(
+ 'msgtype' => 'admin',
'to' => $log_email->to_addr,
'substitutions' => {
'loglevel' => $FS::Log::LEVELS[$self->level], # which has hopefully been loaded...