core/logs: remove warnings

This commit is contained in:
Caleb Doxsey 2024-08-23 11:58:22 -06:00
parent 98cea10421
commit 0da3d1098f
32 changed files with 70 additions and 78 deletions

View file

@ -104,7 +104,7 @@ func (p *Proxy) OnConfigChange(_ context.Context, cfg *config.Config) {
func (p *Proxy) setHandlers(opts *config.Options) error {
if opts.NumPolicies() == 0 {
log.Warn(context.TODO()).Msg("proxy: configuration has no policies")
log.Info(context.TODO()).Msg("proxy: configuration has no policies")
}
r := httputil.NewRouter()
r.NotFoundHandler = httputil.HandlerFunc(func(_ http.ResponseWriter, r *http.Request) error {