diff options
Diffstat (limited to 'src/index.ts')
-rw-r--r-- | src/index.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/index.ts b/src/index.ts index 17eacd8..0591e6d 100644 --- a/src/index.ts +++ b/src/index.ts @@ -5,10 +5,10 @@ import { server, metricsServer } from "./app"; log.setLevel((import.meta.env["LOG_LEVEL"] || "info") as log.LogLevelDesc); const metricsServed = Bun.serve(metricsServer); -console.info(`Metrics server started on port ${metricsServed.port}`); +log.info(`Metrics server started on port ${metricsServed.port}`); const served = Bun.serve(server); -console.info(`Serving website on ${served.url}`); +log.info(`Serving website on ${served.url}`); process.on("SIGTERM", function () { log.info("SIGTERM received, shutting down..."); |