cyrus-imapd/patch-cassandane-no-syslog

23 lines
469 B
Plaintext
Raw Normal View History

2017-05-25 15:33:34 +00:00
diff --git a/Cassandane/Util/Log.pm b/Cassandane/Util/Log.pm
2020-09-04 05:30:07 +00:00
index 17d2cc7..11b747f 100644
2017-05-25 15:33:34 +00:00
--- a/Cassandane/Util/Log.pm
+++ b/Cassandane/Util/Log.pm
2020-09-04 05:30:07 +00:00
@@ -51,9 +51,6 @@ our @EXPORT = qw(
2017-05-25 15:33:34 +00:00
my $verbose = 0;
-openlog('cassandane', '', LOG_LOCAL6)
- or die "Cannot openlog";
-
sub xlog
{
2020-09-04 05:30:07 +00:00
my $id;
@@ -70,7 +67,6 @@ sub xlog
$msg .= "($id) " if $id;
$msg .= join(' ', @_);
2017-05-25 15:33:34 +00:00
print STDERR "$msg\n";
- syslog(LOG_ERR, "$msg");
}
sub set_verbose