Skip to content

Commit

Permalink
remove debug prints from GlobalServices
Browse files Browse the repository at this point in the history
  • Loading branch information
pnorbert committed Jan 4, 2023
1 parent 11bd5f1 commit 7f47767
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions source/adios2/core/ADIOS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ namespace core
class ADIOS::GlobalServices
{
public:
GlobalServices() { std::cout << "ADIOS Global() " << std::endl; }
GlobalServices() {}

~GlobalServices() { std::cout << "ADIOS ~Global()" << std::endl; }
~GlobalServices() {}

void CheckStatus()
{
Expand All @@ -60,12 +60,9 @@ class ADIOS::GlobalServices

void Finalize()
{
std::cout << "ADIOS Global Finalize() Enter" << std::endl;
#ifdef ADIOS2_HAVE_AWSSDK
if (isAWSInitialized)
{
std::cout << "ADIOS Global Finalize() call Aws::ShutdownAPI"
<< std::endl;
Aws::ShutdownAPI(options);
isAWSInitialized = false;
}
Expand All @@ -76,11 +73,8 @@ class ADIOS::GlobalServices
#ifdef ADIOS2_HAVE_AWSSDK
void Init_AWS_API()
{
std::cout << "ADIOS Global Init_AWS_API() Enter" << std::endl;
if (!isAWSInitialized)
{
std::cout << "ADIOS Global Init_AWS_API() call Aws::InitAPI"
<< std::endl;
options.loggingOptions.logLevel =
Aws::Utils::Logging::LogLevel::Debug;
Aws::InitAPI(options);
Expand Down

0 comments on commit 7f47767

Please sign in to comment.