From 30d51e4cf6b043d13d8257ad14f0e3b88b09c153 Mon Sep 17 00:00:00 2001 From: limepotato Date: Mon, 16 Sep 2024 00:36:25 -0600 Subject: [PATCH] logging --- .../observer/nelle/nelleObserverBackend/plugins/Routing.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/src/main/kotlin/observer/nelle/nelleObserverBackend/plugins/Routing.kt b/backend/src/main/kotlin/observer/nelle/nelleObserverBackend/plugins/Routing.kt index 3ef0981..4e581de 100644 --- a/backend/src/main/kotlin/observer/nelle/nelleObserverBackend/plugins/Routing.kt +++ b/backend/src/main/kotlin/observer/nelle/nelleObserverBackend/plugins/Routing.kt @@ -51,18 +51,18 @@ fun Application.configureRouting(client: HttpClient) { if (call.receiveText() == Config().superSecret) { call.response.status(HttpStatusCode(201, "Meow Posted")) makePost(client, getMeow(), Config().instanceDomain) - logger.debug { "meowed with bypass" } + logger.info { "meowed with bypass" } } else { if (meowTimedOut) { call.response.status(HttpStatusCode(423, "Timed Out")) call.respondText("still Sleeping...") - logger.debug { "failed meow" } + logger.info { "failed meow" } } else { call.response.status(HttpStatusCode(201, "Meow Posted")) makePost(client, getMeow(), Config().instanceDomain) meowTimer() call.respondText("meow sent!") - logger.debug { "meowed" } + logger.info { "meowed" } } } }