From e1165e751dc10aa794addc1980c5dfb04c0b50e8 Mon Sep 17 00:00:00 2001
From: scott snyder <snyder@bnl.gov>
Date: Sat, 15 Apr 2017 07:59:51 +0200
Subject: [PATCH] PerfMonTests: Avoid use of deprecated Gaudi method.

---
 .../PerfMonTests/src/PerfMonTestBasicAlg.cxx                   | 3 ---
 .../PerfMonTests/src/PerfMonTestCpuCruncherAlg.cxx             | 3 ---
 .../PerfMonTests/src/PerfMonTestErroneousAlg.cxx               | 3 ---
 .../PerfMonTests/src/PerfMonTestLeakyAlg.cxx                   | 3 ---
 .../PerfMonTests/src/PerfMonTestMallocAlg.cxx                  | 3 ---
 .../PerfMonTests/src/PerfMonTestManyLeaksAlg.cxx               | 3 ---
 .../PerfMonTests/src/PerfMonTestNoopAlg.cxx                    | 3 ---
 7 files changed, 21 deletions(-)

diff --git a/Control/PerformanceMonitoring/PerfMonTests/src/PerfMonTestBasicAlg.cxx b/Control/PerformanceMonitoring/PerfMonTests/src/PerfMonTestBasicAlg.cxx
index 3616b6884f4..8357d530864 100755
--- a/Control/PerformanceMonitoring/PerfMonTests/src/PerfMonTestBasicAlg.cxx
+++ b/Control/PerformanceMonitoring/PerfMonTests/src/PerfMonTestBasicAlg.cxx
@@ -89,9 +89,6 @@ BasicAlg::~BasicAlg()
 ////////////////////////////
 StatusCode BasicAlg::initialize()
 {
-  // configure our MsgStream
-  msg().setLevel( outputLevel() );
-
   ATH_MSG_INFO ( "Initializing " << name() << "..." ) ;
 
   // Get pointer to StoreGateSvc and cache it :
diff --git a/Control/PerformanceMonitoring/PerfMonTests/src/PerfMonTestCpuCruncherAlg.cxx b/Control/PerformanceMonitoring/PerfMonTests/src/PerfMonTestCpuCruncherAlg.cxx
index caf54a44759..8a6ff92b243 100644
--- a/Control/PerformanceMonitoring/PerfMonTests/src/PerfMonTestCpuCruncherAlg.cxx
+++ b/Control/PerformanceMonitoring/PerfMonTests/src/PerfMonTestCpuCruncherAlg.cxx
@@ -62,9 +62,6 @@ CpuCruncherAlg::~CpuCruncherAlg()
 ////////////////////////////
 StatusCode CpuCruncherAlg::initialize()
 {
-  // configure our MsgStream
-  msg().setLevel( outputLevel() );
-
   ATH_MSG_INFO ( "Initializing " << name() << "..." ) ;
   
   // retrieve random number svc
diff --git a/Control/PerformanceMonitoring/PerfMonTests/src/PerfMonTestErroneousAlg.cxx b/Control/PerformanceMonitoring/PerfMonTests/src/PerfMonTestErroneousAlg.cxx
index 500564ff342..7c0a0e22495 100644
--- a/Control/PerformanceMonitoring/PerfMonTests/src/PerfMonTestErroneousAlg.cxx
+++ b/Control/PerformanceMonitoring/PerfMonTests/src/PerfMonTestErroneousAlg.cxx
@@ -45,9 +45,6 @@ ErroneousAlg::~ErroneousAlg()
 ////////////////////////////
 StatusCode ErroneousAlg::initialize()
 {
-  // configure our MsgStream
-  msg().setLevel( outputLevel() );
-
   ATH_MSG_INFO ( "Initializing " << name() << "..." ) ;
   return StatusCode::SUCCESS;
 }
diff --git a/Control/PerformanceMonitoring/PerfMonTests/src/PerfMonTestLeakyAlg.cxx b/Control/PerformanceMonitoring/PerfMonTests/src/PerfMonTestLeakyAlg.cxx
index c0e11e998d7..5c33146b407 100755
--- a/Control/PerformanceMonitoring/PerfMonTests/src/PerfMonTestLeakyAlg.cxx
+++ b/Control/PerformanceMonitoring/PerfMonTests/src/PerfMonTestLeakyAlg.cxx
@@ -61,9 +61,6 @@ LeakyAlg::~LeakyAlg()
 ////////////////////////////
 StatusCode LeakyAlg::initialize()
 {
-  // configure our MsgStream
-  msg().setLevel( outputLevel() );
-
   ATH_MSG_INFO ( "Initializing " << name() << "..." ) ;
 
   // Get pointer to StoreGateSvc and cache it :
diff --git a/Control/PerformanceMonitoring/PerfMonTests/src/PerfMonTestMallocAlg.cxx b/Control/PerformanceMonitoring/PerfMonTests/src/PerfMonTestMallocAlg.cxx
index f66fe6170da..355a8ec75f1 100644
--- a/Control/PerformanceMonitoring/PerfMonTests/src/PerfMonTestMallocAlg.cxx
+++ b/Control/PerformanceMonitoring/PerfMonTests/src/PerfMonTestMallocAlg.cxx
@@ -61,9 +61,6 @@ MallocAlg::~MallocAlg()
 ////////////////////////////
 StatusCode MallocAlg::initialize()
 {
-  // configure our MsgStream
-  msg().setLevel( outputLevel() );
-
   ATH_MSG_INFO ( "Initializing " << name() << "..." ) ;
   
   return StatusCode::SUCCESS;
diff --git a/Control/PerformanceMonitoring/PerfMonTests/src/PerfMonTestManyLeaksAlg.cxx b/Control/PerformanceMonitoring/PerfMonTests/src/PerfMonTestManyLeaksAlg.cxx
index 148118cf713..c85af253a76 100755
--- a/Control/PerformanceMonitoring/PerfMonTests/src/PerfMonTestManyLeaksAlg.cxx
+++ b/Control/PerformanceMonitoring/PerfMonTests/src/PerfMonTestManyLeaksAlg.cxx
@@ -60,9 +60,6 @@ ManyLeaksAlg::~ManyLeaksAlg()
 ////////////////////////////
 StatusCode ManyLeaksAlg::initialize()
 {
-  // configure our MsgStream
-  msg().setLevel( outputLevel() );
-
   ATH_MSG_INFO ( "Initializing " << name() << "..." ) ;
   
   // in m_pointers, we'll store the pointers to the allocated space
diff --git a/Control/PerformanceMonitoring/PerfMonTests/src/PerfMonTestNoopAlg.cxx b/Control/PerformanceMonitoring/PerfMonTests/src/PerfMonTestNoopAlg.cxx
index 80b56b6f13b..bf53de8b2c2 100755
--- a/Control/PerformanceMonitoring/PerfMonTests/src/PerfMonTestNoopAlg.cxx
+++ b/Control/PerformanceMonitoring/PerfMonTests/src/PerfMonTestNoopAlg.cxx
@@ -48,9 +48,6 @@ NoopAlg::~NoopAlg()
 ////////////////////////////
 StatusCode NoopAlg::initialize()
 {
-  // configure our MsgStream
-  msg().setLevel( outputLevel() );
-
   ATH_MSG_INFO ( "Initializing " << name() << "..." ) ;
 
   // Get pointer to StoreGateSvc and cache it :
-- 
GitLab