You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the pact-plugin-driver uses System threads for managing plugins, the Logback config in the pact-avro-plugin is causing issues.
This is rather than using tokio tasks (using threads was introduced for windows due to hanging plugin tests) and I would like to introduce for macos/linux (due to segfaulting plugin tests in pact-go)
I have tried to narrow it down.
The println for the servers port & serverKey is here
I've tried removing just the AsyncAppender to no avail, so this means that to get the avro plugin to work on Windows, we need to disable the logging to file, and if we want to fix pact-go plugin behaviour on macos/linux, we will need to switch over to using threads, which means this issue will affect all users.
cc @uglyog - maybe you can shed some light on the world of java loggers
The text was updated successfully, but these errors were encountered:
See pact-foundation/pact-plugins#68 for background.
When the pact-plugin-driver uses System threads for managing plugins, the Logback config in the pact-avro-plugin is causing issues.
This is rather than using tokio tasks (using threads was introduced for windows due to hanging plugin tests) and I would like to introduce for macos/linux (due to segfaulting plugin tests in pact-go)
I have tried to narrow it down.
The println for the servers port & serverKey is here
The logback config is here
Removing these bits from the config ( the
RollingFileAppender
&AsyncAppender
) allow the pact plugin statup message to be picked uppact-avro-plugin/modules/plugin/src/main/resources/logback.xml
Lines 9 to 29 in 6a7a896
pact-avro-plugin/modules/plugin/src/main/resources/logback.xml
Line 33 in 6a7a896
Effectively this YOU54F#2
I've tried removing just the
AsyncAppender
to no avail, so this means that to get the avro plugin to work on Windows, we need to disable the logging to file, and if we want to fix pact-go plugin behaviour on macos/linux, we will need to switch over to using threads, which means this issue will affect all users.cc @uglyog - maybe you can shed some light on the world of java loggers
The text was updated successfully, but these errors were encountered: