internal: cleanup outpost logs

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2022-05-21 13:18:06 +02:00
parent dd3ed1bfb9
commit be26b92927
2 changed files with 12 additions and 4 deletions

View File

@ -30,7 +30,7 @@ func (a *Application) getStore(p api.ProxyOutpostConfig, externalHost *url.URL)
}
rs.Options.Path = externalHost.Path
rs.Options.Domain = *p.CookieDomain
a.log.Debug("using redis session backend")
a.log.Trace("using redis session backend")
store = rs
} else {
dir := os.TempDir()
@ -51,7 +51,7 @@ func (a *Application) getStore(p api.ProxyOutpostConfig, externalHost *url.URL)
}
cs.Options.Path = externalHost.Path
cs.Options.Domain = *p.CookieDomain
a.log.WithField("dir", dir).Debug("using filesystem session backend")
a.log.WithField("dir", dir).Trace("using filesystem session backend")
store = cs
}
return store