Skip to content

Commit

Permalink
Merge pull request #139 from as14692/fix-logger-cleanup
Browse files Browse the repository at this point in the history
fix: delete unnecessary loggings
  • Loading branch information
as14692 authored Sep 19, 2024
2 parents d78b0b7 + a669124 commit 5410e8a
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions config/src/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,7 @@ void print_help( const struct option* long_options,
}
for ( const struct option* opt = long_options; opt->name != nullptr; ++opt )
{
std::string opt_string;
if ( opt->val != 0 )
{
opt_string = std::string( "--" ) + opt->name;
}
else
{
opt_string = std::string( "--" ) + opt->name;
}
std::string opt_string = std::string( "--" ) + opt->name;
std::string description;
if ( options_descriptions.count( opt->name ) > 0 )
{
Expand Down Expand Up @@ -94,12 +86,9 @@ int parse_options( int argc, const char* argv[], Daemon& cf_daemon )
cf_daemon.run_diagnostic = true;
break;
case 'v':
std::cout << "Verbosity level was set to " << optarg << std::endl;
break;
case 's':
cf_daemon.aws_sm_secret_name = optarg;
std::cout << "Option selected for domainless operation, AWS secrets manager "
"secret-name = " << optarg << std::endl;
break;
case 'n':
std::cout << CMAKE_PROJECT_VERSION << std::endl;
Expand Down

0 comments on commit 5410e8a

Please sign in to comment.