diff --git a/Cassandane/Instance.pm b/Cassandane/Instance.pm index fb36b8f..78e7100 100644 --- a/Cassandane/Instance.pm +++ b/Cassandane/Instance.pm @@ -2146,12 +2146,8 @@ sub setup_syslog_replacement { my ($self) = @_; - if (not(-e 'utils/syslog.so') || not(-e 'utils/syslog_probe')) { - xlog "utils/syslog.so not found (do you need to run 'make'?)"; - xlog "tests will not examine syslog output"; - $self->{have_syslog_replacement} = 0; - return; - } + $self->{have_syslog_replacement} = 0; + return; $self->{syslog_fname} = "$self->{basedir}/conf/log/syslog"; $self->{have_syslog_replacement} = 1; diff --git a/Cassandane/Util/Log.pm b/Cassandane/Util/Log.pm index 7c17f0c..9eb07ad 100644 --- a/Cassandane/Util/Log.pm +++ b/Cassandane/Util/Log.pm @@ -51,9 +51,6 @@ our @EXPORT = qw( my $verbose = 0; -openlog('cassandane', '', LOG_LOCAL6) - or die "Cannot openlog"; - sub xlog { my $id; @@ -74,7 +71,6 @@ sub xlog $msg .= "($id) " if $id; $msg .= join(' ', @_); print STDERR "$msg\n"; - syslog(LOG_ERR, "$msg"); } sub set_verbose