hundreds-psychiatrist-38730
02/22/2025, 10:57 PMmagnificent-energy-493
Theconfiguration key supports the following values:level
• `debug`: usually only enabled when debugging. Very verbose logging. Ifis the log format, the JSON will be prettified for better readability.json
hundreds-psychiatrist-38730
02/23/2025, 1:39 AMbland-eye-99092
02/23/2025, 11:57 AMhundreds-psychiatrist-38730
02/23/2025, 7:44 PMjq
but that doesn't seem to work well 😕bland-eye-99092
02/23/2025, 10:08 PMbut that doesn't seem to work wellcan you elaborate on that? what doesn't work well?
hundreds-psychiatrist-38730
02/24/2025, 2:53 PM$ docker compose logs kratos -f 2>&1 | jq --unbuffered --stream '.'
jq: parse error: Invalid numeric literal at line 1, column 9
Below that jq output, i just get a bunch of empty lines and then it exit.
and it makes sense, because the output contains kratos-1 | <json output>
even CORS logs is.
kratos-1 | [cors] 2025/02/23 19:44:45 ServeHTTP: Actual request
kratos-1 | [cors] 2025/02/23 19:44:45 Actual response added headers: map[Access-Control-Allow-Credentials:[true] Access-Control-Allow-Origin:[<http://localhost:3000>] Access-Control-Expose-Headers:[Content-Type] Vary:[Origin]]