Add exclude-listeners parameter
This commit is contained in:
parent
ebc48e3615
commit
c0382eaad9
10 changed files with 47 additions and 22 deletions
|
|
@ -9,14 +9,14 @@ import (
|
|||
|
||||
// Syslog notifier
|
||||
type Syslog struct {
|
||||
sessions chan base.Session
|
||||
sessions chan *base.Session
|
||||
ident string
|
||||
priority syslog.Priority
|
||||
writer *syslog.Writer
|
||||
}
|
||||
|
||||
// NewSyslog creates a syslog notifier
|
||||
func NewSyslog(facility string, ident string, sessions chan base.Session) Notifier {
|
||||
func NewSyslog(facility string, ident string, sessions chan *base.Session) Notifier {
|
||||
var priority syslog.Priority
|
||||
switch facility {
|
||||
case "LOCAL0":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue