fix error log wrapping
Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/63c1c783 Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/63c1c783 Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/63c1c783 Branch: refs/heads/master Commit: 63c1c783935eb9df688f979cc34338c8f1702b22 Parents: 9675689 Author: Derek Gelinas <mrdgeli...@gmail.com> Authored: Fri Mar 31 18:59:19 2017 +0000 Committer: Jeff Elsloo <jeffrey_els...@cable.comcast.com> Committed: Mon Apr 10 12:42:46 2017 -0600 ---------------------------------------------------------------------- traffic_ops/bin/traffic_ops_ort.pl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/63c1c783/traffic_ops/bin/traffic_ops_ort.pl ---------------------------------------------------------------------- diff --git a/traffic_ops/bin/traffic_ops_ort.pl b/traffic_ops/bin/traffic_ops_ort.pl index a8be0ca..1b1a9cf 100755 --- a/traffic_ops/bin/traffic_ops_ort.pl +++ b/traffic_ops/bin/traffic_ops_ort.pl @@ -1735,9 +1735,8 @@ sub get_cfg_file_list { } } else { - printf( "INFO Reval in use status: $reval_in_use \n" ); if ( $reval_in_use == 1 ) { - printf( "INFO Instant Invalidate is in use. Skipping regex_revalidate.config. \n" ); + ( $log_level >> $WARN ) && printf("WARN Instant Invalidate is enabled. Skipping regex_revalidate.config.\n"); delete $ort_ref->{'config_files'}->{'regex_revalidate.config'}; } foreach my $cfg_file ( keys %{ $ort_ref->{'config_files'} } ) {