Skip to content
Snippets Groups Projects
Commit 36a67e15 authored by Manuel Kieweg's avatar Manuel Kieweg
Browse files

removed syslog logger. incompatible w/Docker

parent 872b1115
No related branches found
No related tags found
3 merge requests!90Develop,!63Resolve "Dockerfile",!53V.0.1.0 Codename Threadbare
This commit is part of merge request !53. Comments created here will be created in the context of that merge request.
...@@ -4,7 +4,6 @@ import ( ...@@ -4,7 +4,6 @@ import (
"code.fbi.h-da.de/cocsn/gosdn/log" "code.fbi.h-da.de/cocsn/gosdn/log"
"code.fbi.h-da.de/cocsn/gosdn/nucleus" "code.fbi.h-da.de/cocsn/gosdn/nucleus"
"flag" "flag"
"log/syslog"
) )
func main() { func main() {
...@@ -18,16 +17,6 @@ func main() { ...@@ -18,16 +17,6 @@ func main() {
cliSocket := *cliListenAddr + ":" + *cliListenPort cliSocket := *cliListenAddr + ":" + *cliListenPort
log.Loglevel(log.DEBUG) log.Loglevel(log.DEBUG)
syslogWriter, err := syslog.New(syslog.LOG_ALERT, "gosdn")
defer func() {
if err := syslogWriter.Close(); err != nil {
log.Fatal(err)
}
}()
if err != nil {
log.Fatal(err)
}
log.LoglevelOutput(log.INFO, syslogWriter)
// Setup a channel to communicate if goSDN should shutdown. // Setup a channel to communicate if goSDN should shutdown.
IsRunningChannel := make(chan bool) IsRunningChannel := make(chan bool)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment