diff --git a/sbin/ngcp-sync-constants b/sbin/ngcp-sync-constants index 7648f44f..ef9e33a5 100755 --- a/sbin/ngcp-sync-constants +++ b/sbin/ngcp-sync-constants @@ -195,7 +195,11 @@ SQL my ($count, $match) = $sth_sel->fetchrow_array(); if ($count && !$match) { - log_info(sprintf "%s => %s", $user, $pass); + if ($debug) { + log_debug(sprintf "%s => %s", $user, $pass); + } else { + log_info(sprintf "%s", $user); + } unless ($test_mode) { my $rows = $sth_upd->execute($pass, $user) or die "Cannot update: ".$DBI::errstr;