[Rt-commit] rt branch, 4.4/silence-change-of-config-warnings, repushed

Maureen Mirville maureen at bestpractical.com
Fri Feb 16 15:41:06 EST 2018


The branch 4.4/silence-change-of-config-warnings was deleted and repushed:
       was eef02011d73da7a8035e99369d1ea911a7cff7a9
       now 9ac99ad9520500b660f50e56622b4f20c9bab298

1: eef02011d ! 1: 9ac99ad95 Add option to silence 'Change of config' warnings
    @@ -2,11 +2,11 @@
     
         Add option to silence 'Change of config' warnings
         
    -    When an RTIR config option is updated in RT_SiteConfig.pm, a
    -    warning message is added to the logs stating the update will
    -    overwrite the default config option. This behavior the message is
    +    When an RTIR configuration option is updated in RT_SiteConfig.pm,
    +    a warning message is added to the logs stating the update will
    +    overwrite its default config option. The behavior the message is
         expressing is expected if the change was intentional. This warning
    -    message might not be very helpful to some users and creates
    +    message might not be very helpful to some users and it creates
         additional noise in the logs. This warning message has been moved
         to the debug level to allow users the option to view these messages
         or not by enabling or disabling 'debug' with the RT config
    @@ -20,8 +20,7 @@
                      # then we warn only on different extensions, for example
                      # RTIR's options is set in main site config
     -                warn
    -+                our $ConfigChangeWarning;
    -+                $ConfigChangeWarning =
    ++                our $ConfigChangeWarning =
                          "Change of config option '$name' at $args{'File'} line $args{'Line'} has been ignored."
                          ." It may be ok, but we want you to be aware."
                          ." This option has been set earlier in $source{'File'} line $source{'Line'}."



More information about the rt-commit mailing list