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:
Phillip Webb
2017-03-12 21:55:58 -07:00
parent 902905ad10
commit 69b72874ea
11 changed files with 95 additions and 74 deletions

View File

@@ -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">