Skip to content

Commit

Permalink
log/syslog: disable on Windows
Browse files Browse the repository at this point in the history
We want to be able to implement good Windows support
after Go 1.  Right now Windows tries to use Unix domain
sockets, and I'd rather just have it not be available.

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/5671076
  • Loading branch information
rsc committed Feb 17, 2012
1 parent 008e64d commit a4d124d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pkg/log/syslog/syslog.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// +build !windows,!plan9

// Package syslog provides a simple interface to the system log service. It
// can send messages to the syslog daemon using UNIX domain sockets, UDP, or
// TCP connections.
Expand Down
3 changes: 3 additions & 0 deletions src/pkg/log/syslog/syslog_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// +build !windows,!plan9

package syslog

import (
Expand Down
2 changes: 2 additions & 0 deletions src/pkg/log/syslog/syslog_unix.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// +build !windows,!plan9

package syslog

import (
Expand Down

0 comments on commit a4d124d

Please sign in to comment.