Logge nach stderr

This commit is contained in:
Gonne 2022-09-27 17:49:26 +02:00
parent bc49cfb809
commit 58eb848f20
1 changed files with 0 additions and 7 deletions

View File

@ -5,7 +5,6 @@ import (
"flag"
"fmt"
"log"
"log/syslog"
"net/http"
"officeHours/config"
"officeHours/controllers"
@ -16,11 +15,6 @@ import (
)
func main() {
logwriter, e := syslog.New(syslog.LOG_ERR, "office hours")
if e == nil {
log.SetOutput(logwriter)
}
configFile := flag.String(
"config",
"config/config.json",
@ -30,7 +24,6 @@ func main() {
flag.Usage()
os.Exit(1)
}
var conf config.Config
err := config.ReadConfigFile(*configFile, &conf)
if err != nil {