[Rt-commit] rt branch, 4.2/quiet-internal-formatter-message, repushed

Jesse Vincent jesse at bestpractical.com
Tue Mar 10 15:46:13 EDT 2015


The branch 4.2/quiet-internal-formatter-message was deleted and repushed:
       was fb8e3034fa03e06818c95fb7d1e800c414c4d624
       now 980d48f93204a3bb8e0d0c0bb4c58635aa2cc425

1:  fb8e303 ! 1:  980d48f Drop the "internal formatter" message from info to debug.
    @@ -4,11 +4,7 @@
         
         An informational message added in 40ba502 appears rather frequently
         in normal RT operation (once per commandline script in some cases)
    -    and isn't relevant to audit logs or directly actionable.
    -    
    -    If this is important enough to log about on every start of the
    -    server and every commandline script, we may want to consider making
    -    it a warning and recommending corrective action in the text.
    +    when RT is run with the default logging level 'info'.
     
     diff --git a/lib/RT/Interface/Email.pm b/lib/RT/Interface/Email.pm
     --- a/lib/RT/Interface/Email.pm
    @@ -22,3 +18,12 @@
                  require HTML::FormatText::WithLinks::AndTables;
                  $formatter = \&_HTMLFormatText;
              } else {
    +@@
    +                 }
    +             }
    + 
    +-            RT->Logger->info("Using $prog for HTML -> text conversion");
    ++            RT->Logger->debug("Using $prog for HTML -> text conversion");
    +             $formatter = sub {
    +                 my $html = shift;
    +                 my $text = RT::Util::safe_run_child {



More information about the rt-commit mailing list