From d3079062c81b6d5ea5c2d7ece9d018b1e21f0508 Mon Sep 17 00:00:00 2001 From: William Schaefer Date: Mon, 6 Jan 2020 16:18:57 -0500 Subject: [PATCH] 5923 log error messages to error log --- thirdparty/rr/plugins/autopsyprocarchitecture.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/thirdparty/rr/plugins/autopsyprocarchitecture.pl b/thirdparty/rr/plugins/autopsyprocarchitecture.pl index b4b81986db..d5c0e63f6e 100644 --- a/thirdparty/rr/plugins/autopsyprocarchitecture.pl +++ b/thirdparty/rr/plugins/autopsyprocarchitecture.pl @@ -47,14 +47,14 @@ sub pluginmain { my $arch = $env->get_value("PROCESSOR_ARCHITECTURE")->get_data(); ::rptMsg("" . $arch . ""); }; - + ::logMsg($@) if ($@); } else { - ::rptMsg($env_path." not found."); + ::logMsg($env_path." not found."); } } else { - ::rptMsg($key_path." not found."); + ::logMsg($key_path." not found."); #::logMsg($key_path." not found."); } }