add method in SyslogWrapper from ::Logger

it doesn't need to be set, it's just called sometimes

Change-Id: Ifcc08fb2f4a7645326f666f24dfc4de093c2c6a5
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/235562
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Ethan Vizitei <evizitei@instructure.com>
Product-Review: Ethan Vizitei <evizitei@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
This commit is contained in:
Cody Cutrer 2020-04-28 15:09:26 -06:00
parent 40fe720649
commit 47f645c1e7
1 changed files with 2 additions and 0 deletions

View File

@ -23,6 +23,8 @@ class SyslogWrapper
attr_accessor :level, :datetime_format
def formatter; nil; end
@@silencer = true
def self.silencer; @@silencer; end
def silencer; @@silencer; end