Once #167 is merged, we should rethink how our custom logger is instantiated, as currently it is in static manner and such, the PR #167 will not work as expected with @Inject WildFlyConfig, as it will always be null (injection in static context), thus the condition for nullability is required.
After offline discussion we have decided to prepend dry run message only to specific remote calls, thus it will not be responsibility in PullRequestLogger but individual log calls.
Once #167 is merged, we should rethink how our custom logger is instantiated, as currently it is in static manner and such, the PR #167 will not work as expected with
@Inject WildFlyConfig
, as it will always be null (injection in static context), thus the condition for nullability is required.