internal: cleanup outpost logs
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user