Skip to content

Conversation

@labkey-jeckels
Copy link
Contributor

Rationale

We configure JSON-based Log4J logging via an override file in our cloud instances. This stopped working as of the upgrade to Spring Boot 4.

Changes

  • Propagate from the Log4J-preferred config to the Spring Boot-preferred config so they stop squabbling over the setup

@labkey-jeckels labkey-jeckels requested review from a team and labkey-willm January 23, 2026 04:25
@labkey-jeckels labkey-jeckels self-assigned this Jan 23, 2026
@labkey-willm
Copy link
Contributor

Nice hack. Does this still work if there's 3 or more files in play? labkey.org and HSE (audit logs) each get a 3rd file: https://github.com/LabKey/syseng-chef-server/blob/develop/cookbooks/lk_appserver/recipes/default_embedded.rb#L785

@labkey-jeckels
Copy link
Contributor Author

Nice hack. Does this still work if there's 3 or more files in play? labkey.org and HSE (audit logs) each get a 3rd file: https://github.com/LabKey/syseng-chef-server/blob/develop/cookbooks/lk_appserver/recipes/default_embedded.rb#L785

It didn't originally but does now. I tested with three, and it should be fine with whatever number now.

We should transition from using the Log4J-style config to the Spring Boot config, but this helps us make the transition.

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.

3 participants