https://kotlinlang.org logo
#ktor
Title
# ktor
t

tim

03/31/2022, 9:11 AM
Has anyone encountered an issue using ktor-server:2.0.0-beta-1's CallLogging plugin on Linux? Essentially the jvm crashes when CallLogging calls `AnsiConsole.systemInstall()`(link). I think the issue might be related to https://github.com/fusesource/jansi/issues/204 (fixed in jansi 2.4.0) but haven't had a change to test yet. Current workaround is to just disable the call logging plugin on linux.
e

e5l

03/31/2022, 9:12 AM
Hey!
jansi
is updated to 2.4.0 and will be released in Ktor 2.0.0
👍 1
t

tim

03/31/2022, 9:12 AM
any idea when jansi 2.4.0 might land in the server betas?
e

e5l

03/31/2022, 9:23 AM
It should be published in any recent EAP build and will be published in 2.0.0-RC soon after kotlin 1.6.20
🙏 1
a

Aleksei Tirman [JB]

03/31/2022, 9:38 AM
There is another related issue that according to comments won’t be fixed on the jansi side. Also, we have an unmerged pull request to prevent calling
AnsiConsole.systemInstall()
if the colored output is disabled.
👍 1
13 Views