all repos — website @ 9aba2856bca331d5283e527713a1e810cea3394e

My website

Remove access logging
Alan Pearce alan@alanpearce.eu
Fri, 12 Apr 2024 10:21:58 +0200
commit

9aba2856bca331d5283e527713a1e810cea3394e

parent

a926b530d3c9dd12472b918c620d8bce84e96834

1 files changed, 0 insertions(+), 7 deletions(-)

jump to
M src/app.tssrc/app.ts
@@ -284,13 +284,6 @@ if (status === 200) {         const seconds = endTimer();
         metrics.requestDuration.observe(seconds);
       }
-      log.info(
-        request.method,
-        status,
-        hostname,
-        pathname,
-        newpath ? newpath : "",
-      );
       if (autoSleep && pathname !== "/health") {
         keepAwake();
       }