aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuss Allbery <rra@stanford.edu>2008-02-07 22:46:24 +0000
committerRuss Allbery <rra@stanford.edu>2008-02-07 22:46:24 +0000
commit39486ab6939e9005f9eaf7eb0d7cac30a82ff6ea (patch)
treeda166ab990bd5233a6a5fff3388f3ce09d9ee2bc
parentb7e0a97006e7f55d4593608c67ee31fe140738c4 (diff)
Correctly enable syslog logging in wallet-backend.
-rw-r--r--NEWS2
-rwxr-xr-xserver/wallet-backend2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 7a59805..4174423 100644
--- a/NEWS
+++ b/NEWS
@@ -20,6 +20,8 @@ wallet 0.7 (unreleased)
principal argument if no principal was set. This workaround can be
removed once we depend on a later version of Net::Remctl.
+ Correctly enable syslog logging in wallet-backend.
+
Fix the example remctl configuration for keytab-backend to use the
correct script name.
diff --git a/server/wallet-backend b/server/wallet-backend
index 4a0b5cf..1a259d5 100755
--- a/server/wallet-backend
+++ b/server/wallet-backend
@@ -19,7 +19,7 @@ use Wallet::Server;
# Set to zero to suppress syslog logging, which is used only for testing. Set
# to a reference to a string to append messages to that string instead.
our $SYSLOG;
-$SYSLOG = 0 unless defined $SYSLOG;
+$SYSLOG = 1 unless defined $SYSLOG;
##############################################################################
# Logging