summaryrefslogtreecommitdiff
path: root/FS/FS/log_email.pm
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2016-06-17 00:31:09 -0500
committerJonathan Prykop <jonathan@freeside.biz>2016-06-17 00:31:09 -0500
commit00e8f9bf7f0382d8bd82c7e806bc79a1e0e89589 (patch)
tree4b7b7ec5b416b713b8a2b5d878d292621a14a2cc /FS/FS/log_email.pm
parentb5f68a61dad0e3d00bab85716dc97bc186f55e48 (diff)
RT#39627: System log daily context also includes Cron::bill and Cron::upload results
Diffstat (limited to 'FS/FS/log_email.pm')
-rw-r--r--FS/FS/log_email.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/FS/FS/log_email.pm b/FS/FS/log_email.pm
index 9c53c23..a055cb4 100644
--- a/FS/FS/log_email.pm
+++ b/FS/FS/log_email.pm
@@ -42,6 +42,9 @@ The following fields are currently supported:
=item to_addr - who the email will be sent to (in addition to any bcc on the template)
+=item context_height - number of context stack levels to match against
+(0 or null matches against full stack, 1 only matches lowest level context, 2 matches lowest two levels, etc.)
+
=back
=head1 METHODS
@@ -88,6 +91,7 @@ sub check {
|| $self->ut_number('min_level')
|| $self->ut_foreign_key('msgnum', 'msg_template', 'msgnum')
|| $self->ut_textn('to_addr')
+ || $self->ut_numbern('context_height')
;
return $error if $error;