fix(cgi-bin): reset log level in set_power

main
Tsu-ba-me 4 years ago
parent 5c7d9d9e82
commit 593921fa04
  1. 3
      cgi-bin/set_power

@ -116,9 +116,6 @@ sub set_host_power
$anvil->Get->switches; $anvil->Get->switches;
# Temporary; for debugging
$anvil->Log->level({ set => 2 });
$anvil->Database->connect; $anvil->Database->connect;
$anvil->Log->entry({source => $THIS_FILE, line => __LINE__, level => 2, secure => 0, key => "log_0132"}); $anvil->Log->entry({source => $THIS_FILE, line => __LINE__, level => 2, secure => 0, key => "log_0132"});
if (not $anvil->data->{sys}{database}{connections}) if (not $anvil->data->{sys}{database}{connections})

Loading…
Cancel
Save