From 2953978c1d04af2f0c848bcc273e0ab917ffc6c0 Mon Sep 17 00:00:00 2001 From: Mitar Date: Tue, 11 Jul 2023 22:35:22 +0200 Subject: [PATCH] Convert logs to JSON. --- etc/service/meteor/log/run | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/etc/service/meteor/log/run b/etc/service/meteor/log/run index 8f01eb2..3d02284 100755 --- a/etc/service/meteor/log/run +++ b/etc/service/meteor/log/run @@ -6,7 +6,5 @@ if [ "${LOG_TO_STDOUT}" != "1" ]; then exec chpst -u nobody:nogroup svlogd -tt /var/log/meteor else - # TODO: Exit with 115. See: https://gitlab.com/tozd/dinit/-/issues/1 - exec chpst -u nobody:nogroup cat + exec chpst -u nobody:nogroup regex2json "^\\s*(?:(?P<___json___optional>\\{.*\\})|(?P.+?))\\s*$" fi -