Skip to content

Drop config Grails 8 now supplies itself - #26

Merged
codeconsole merged 1 commit into
grails-plugins:8.0.xfrom
codeconsole:8.0.x
Aug 1, 2026
Merged

codeconsole merged 1 commit into
grails-plugins:8.0.xfrom
codeconsole:8.0.x

Conversation

@codeconsole

Copy link
Copy Markdown
Contributor

Grails 8 hard-codes the whole MIME table in MimeType.createDefaults() — all, atom, css, csv, form, html, js, json, multipartForm, pdf, rss, text, hal and xml, plus application/vnd.api+json — and merges anything a project declares in grails.mime.types over it, per grails.mime.mergeDefaults. The demo app's block restated those defaults verbatim, so removing it changes nothing.

The two logback-spring.xml files go with it. Neither is published — the plugin jar carries no logback resource — so they only ever shaped local runs, and what they set up was Spring Boot's own defaults.xml plus a console appender, which Boot installs unprompted. The plugin's copy had also drifted: a duplicated ahr logger and an io.awspring.cloud one for a dependency this project does not have, left over from whatever skeleton it was copied from.

One real change: the demo app pinned its root logger to ERROR, and now takes Boot's INFO default, so bootRun is more verbose than it was.

Grails 8 hard-codes the whole MIME table in MimeType.createDefaults() -- all,
atom, css, csv, form, html, js, json, multipartForm, pdf, rss, text, hal and
xml, plus application/vnd.api+json -- and merges anything a project declares
in grails.mime.types over it, per grails.mime.mergeDefaults. The demo app's
block restated those defaults verbatim, so removing it changes nothing.

The two logback-spring.xml files go with it. Neither is published -- the
plugin jar carries no logback resource -- so they only ever shaped local runs,
and what they set up was Spring Boot's own defaults.xml plus a console
appender, which Boot installs unprompted. The plugin's copy had also drifted:
a duplicated ahr logger and an io.awspring.cloud one for a dependency this
project does not have, left over from whatever skeleton it was copied from.

One real change: the demo app pinned its root logger to ERROR, and now takes
Boot's INFO default, so bootRun is more verbose than it was.
@codeconsole
codeconsole merged commit c803210 into grails-plugins:8.0.x Aug 1, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant