control.pm (e6ca2088) | control.pm (e50a3cc3) |
---|---|
1#************************************************************** 2# 3# Licensed to the Apache Software Foundation (ASF) under one 4# or more contributor license agreements. See the NOTICE file 5# distributed with this work for additional information 6# regarding copyright ownership. The ASF licenses this file 7# to you under the Apache License, Version 2.0 (the 8# "License"); you may not use this file except in compliance --- 307 unchanged lines hidden (view full) --- 316 my ($relative_time, $log_id, $process_id, $message) = @_; 317 318 if ($message =~ /\berror\b/i) 319 { 320 # Message contains the word "error". Now we have to find out if it is relevant. 321 322 # Remove all filenames that contain the word "Error". 323 my $work_string = $message; | 1#************************************************************** 2# 3# Licensed to the Apache Software Foundation (ASF) under one 4# or more contributor license agreements. See the NOTICE file 5# distributed with this work for additional information 6# regarding copyright ownership. The ASF licenses this file 7# to you under the Apache License, Version 2.0 (the 8# "License"); you may not use this file except in compliance --- 307 unchanged lines hidden (view full) --- 316 my ($relative_time, $log_id, $process_id, $message) = @_; 317 318 if ($message =~ /\berror\b/i) 319 { 320 # Message contains the word "error". Now we have to find out if it is relevant. 321 322 # Remove all filenames that contain the word "Error". 323 my $work_string = $message; |
324 $work_string =~ s/Error\.(idt|mlf|ulf|html|hpp|ipp)//g; | 324 $work_string =~ s/Error\.(idt|mlf|ulf|idl|html|hpp|ipp)//g; |
325 326 if ($work_string =~ /\bError\b/i) 327 { 328 # This really is an error message. 329 push @ErrorMessages, {'relative_time' => $relative_time, 330 'message' => $message}; 331 } 332 } --- 421 unchanged lines hidden --- | 325 326 if ($work_string =~ /\bError\b/i) 327 { 328 # This really is an error message. 329 push @ErrorMessages, {'relative_time' => $relative_time, 330 'message' => $message}; 331 } 332 } --- 421 unchanged lines hidden --- |