Skip to content

Commit 4a5c353

Browse files
committed
Change dynamic route logging from Info -> Debug
1 parent 8343923 commit 4a5c353

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/nextrouter/nextrouter.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ func serveFile(router chi.Router, fileSystem fs.FS, fileName string, options Opt
168168

169169
// Handle the `[org]` dynamic route case
170170
if isDynamicRoute(fileNameWithoutExtension) {
171-
options.Logger.Info(context.Background(), "Registering dynamic route", slog.F("fileName", fileName))
171+
options.Logger.Debug(context.Background(), "Registering dynamic route", slog.F("fileName", fileName))
172172
router.Get("/{dynamic}", handler)
173173
return
174174
}

0 commit comments

Comments
 (0)