You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2010/02/11 13:50:55 UTC

[Bug 6331] Win32: spamd logging: syslog-socket

https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6331

Daniel <le...@jam-software.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lemke@jam-software.com

--- Comment #1 from Daniel <le...@jam-software.com> 2010-02-11 12:50:55 UTC ---
@@ -427,7 +428,13 @@
 # gets mapped to --syslog=stderr and such --syslog-socket=file. An internal
 # socket of 'none' means as much as --syslog=null. Sounds complicated? It is.
 # But it works.
-my $log_socket = lc($opt{'syslog-socket'}) || 'unix';
+my $log_socket;
+if (!Mail::SpamAssassin::Util::am_running_on_windows()) {
+    $log_socket = lc($opt{'syslog-socket'}) || 'unix';
+} else {
+    $log_socket = "none";
+}

 # This is the default log file; it can be changed on the command line
 # via a --syslog flag containing non-word characters.

-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.