No need to include trailing newline in log messages.

This commit is contained in:
Joachim Bauch
2021-06-04 16:42:17 +02:00
parent 9a921a6572
commit 2f4414561e
10 changed files with 45 additions and 45 deletions
+1 -1
View File
@@ -160,7 +160,7 @@ func NewBackendConfiguration(config *goconf.ConfigFile) (*BackendConfiguration,
if len(hosts) > 1 {
log.Println("WARNING: Using deprecated backend configuration. Please migrate the \"allowed\" setting to the new \"backends\" configuration.")
}
log.Printf("Allowed backend hostnames: %s\n", hosts)
log.Printf("Allowed backend hostnames: %s", hosts)
if sessionLimit > 0 {
log.Printf("Allow a maximum of %d sessions", sessionLimit)
}