Projects
home:mollekopf:branches:Kolab:Winterfell
cyrus-imapd
patch-cassandane-no-syslog
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File patch-cassandane-no-syslog of Package cyrus-imapd
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
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.