diff --git a/html/embed.go b/html/embed.go index b2f8a660..d95ca8c3 100644 --- a/html/embed.go +++ b/html/embed.go @@ -88,7 +88,7 @@ func (ts templateSystemEmbed) loadTemplateSubdir(subdir string) error { return fmt.Errorf("error adding SVG templates: %w", err) } ts.nameToTemplate[short_path] = new_t - log.Debug().Str("path", short_path).Msg("Loaded page template") + //log.Debug().Str("path", short_path).Msg("Loaded page template") return nil }) return err @@ -119,7 +119,7 @@ func (ts templateSystemEmbed) addSubdirTemplates(t *template.Template, subdir st return fmt.Errorf("error adding parse tree '%s': %w", path, err) } //ts.nameToTemplate[short_path] = new_t - log.Debug().Str("path", short_path).Msg("Loaded shared component template") + //log.Debug().Str("path", short_path).Msg("Loaded shared component template") return nil }) return err diff --git a/html/filesystem.go b/html/filesystem.go index 0875299e..d7361867 100644 --- a/html/filesystem.go +++ b/html/filesystem.go @@ -242,8 +242,8 @@ func addSVGTemplates(filesystem fs.FS, t *template.Template) error { if err != nil { return fmt.Errorf("Failed to add svg '%s' to embedded template: %v", svg, err) } - log.Debug().Str("name", svg_name).Msg("add svg template") + //log.Debug().Str("name", svg_name).Msg("add svg template") } - log.Debug().Msg("Done adding SVG templates") + //log.Debug().Msg("Done adding SVG templates") return nil } diff --git a/rmo/nuisance.go b/rmo/nuisance.go index a6f85b56..8f62d020 100644 --- a/rmo/nuisance.go +++ b/rmo/nuisance.go @@ -116,7 +116,7 @@ func postNuisance(w http.ResponseWriter, r *http.Request) { log.Warn().Err(err).Str("duration_str", duration_str).Msg("Failed to interpret 'duration'") } - log.Debug().Strs("source_locations", source_locations).Msg("parsing") + //log.Debug().Strs("source_locations", source_locations).Msg("parsing") if slices.Contains(source_locations, "backyard") { is_location_backyard = true }