Skip to content

Commit

Permalink
Merge c9090b8 into 45c32b7
Browse files Browse the repository at this point in the history
  • Loading branch information
kozlovic committed Mar 9, 2020
2 parents 45c32b7 + c9090b8 commit b8b2f9b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nats-streaming-server.go
Expand Up @@ -115,7 +115,7 @@ Embedded NATS Server Options:
Logging Options:
-l, --log <string> File to redirect log output
-T, --logtime=<bool> Timestamp log entries (default: true)
-s, --syslog <string> Enable syslog as log method
-s, --syslog <bool> Enable syslog as log method
-r, --remote_syslog <string> Syslog server addr (udp://localhost:514)
-D, --debug=<bool> Enable debugging output
-V, --trace=<bool> Trace the raw protocol
Expand Down
2 changes: 1 addition & 1 deletion server/service_windows.go
Expand Up @@ -131,7 +131,7 @@ func Run(sOpts *Options, nOpts *natsd.Options) (*StanServer, error) {
}
if isInteractive {
run = debug.Run
} else {
} else if nOpts.Syslog || nOpts.LogFile == "" {
sysLogInitLock.Lock()
// We create a syslog here because we want to capture possible startup
// failure message.
Expand Down

0 comments on commit b8b2f9b

Please sign in to comment.