Duplicate log entries
hi @pierre @tungleduyxyz
The latest version of Kaui writes duplicate logs:
{"@timestamp":"2025-03-23T11:26:04.267Z","@version":"1","message":"jruby 9.4.10.0 (3.1.4) 2025-01-20 4ce055b158 OpenJDK 64-Bit Server VM 11.0.26+4-post-Ubuntu-1ubuntu120.04 on 11.0.26+4-post-Ubuntu-1ubuntu120.04 +jit [aarch64-linux]","logger_name":"jruby.rack","thread_name":"main","level":"INFO","level_value":20000}
{"@timestamp":"2025-03-23T11:26:04.270Z","@version":"1","message":"jruby 9.4.10.0 (3.1.4) 2025-01-20 4ce055b158 OpenJDK 64-Bit Server VM 11.0.26+4-post-Ubuntu-1ubuntu120.04 on 11.0.26+4-post-Ubuntu-1ubuntu120.04 +jit [aarch64-linux]","logger_name":"jruby.rack","thread_name":"main","level":"WARN","level_value":30000}
{"@timestamp":"2025-03-23T11:26:04.271Z","@version":"1","message":"jruby 9.4.10.0 (3.1.4) 2025-01-20 4ce055b158 OpenJDK 64-Bit Server VM 11.0.26+4-post-Ubuntu-1ubuntu120.04 on 11.0.26+4-post-Ubuntu-1ubuntu120.04 +jit [aarch64-linux]","logger_name":"jruby.rack","thread_name":"main","level":"ERROR","level_value":40000}
{"@timestamp":"2025-03-23T11:26:04.271Z","@version":"1","message":"jruby 9.4.10.0 (3.1.4) 2025-01-20 4ce055b158 OpenJDK 64-Bit Server VM 11.0.26+4-post-Ubuntu-1ubuntu120.04 on 11.0.26+4-post-Ubuntu-1ubuntu120.04 +jit [aarch64-linux]","logger_name":"jruby.rack","thread_name":"main","level":"ERROR","level_value":40000}
{"@timestamp":"2025-03-23T11:26:04.272Z","@version":"1","message":"using a shared (thread-safe) runtime","logger_name":"jruby.rack","thread_name":"main","level":"INFO","level_value":20000}
{"@timestamp":"2025-03-23T11:26:04.272Z","@version":"1","message":"using a shared (thread-safe) runtime","logger_name":"jruby.rack","thread_name":"main","level":"WARN","level_value":30000}
{"@timestamp":"2025-03-23T11:26:04.272Z","@version":"1","message":"using a shared (thread-safe) runtime","logger_name":"jruby.rack","thread_name":"main","level":"ERROR","level_value":40000}
{"@timestamp":"2025-03-23T11:26:04.272Z","@version":"1","message":"using a shared (thread-safe) runtime","logger_name":"jruby.rack","thread_name":"main","level":"ERROR","level_value":40000}
It happened somewhere between 3.0.9 and 3.0.11 and seems like https://github.com/killbill/killbill-admin-ui-standalone/pull/80 pull request is the only relevant one.
Do you have any ideas how to fix it? Thanks!
Thanks @yegortokmakov . Let me check it and respond to you ASAP.
Hi @yegortokmakov, It seems the root cause is here: https://github.com/killbill/killbill-admin-ui-standalone/pull/85 As I explained in the description, we had an issue with jruby-rack current version, so I had to build a custom JAR file(while waiting for the jruby-rack next release). That could be a reason for additional logs.