Extract logging listeners
Separate logging ApplicationListeners classes to a different package so that the root `logging` package is no longer aware of `context` concerns. Fixes gh-8611
This commit is contained in:
@@ -3,6 +3,12 @@
|
||||
<import-control pkg="org.springframework.boot">
|
||||
<allow pkg=".*" regex="true" />
|
||||
|
||||
<!-- Logging -->
|
||||
<subpackage name="logging">
|
||||
<disallow pkg="org.springframework.context" />
|
||||
<disallow pkg="org.springframework.boot.context" />
|
||||
</subpackage>
|
||||
|
||||
<!-- Web related concerns -->
|
||||
<subpackage name="web">
|
||||
|
||||
|
||||
Reference in New Issue
Block a user