Skip to content

Conversation

@labkey-willm
Copy link
Contributor

Rationale

  • 52974, error about " /config is a directory", due to incomplete bash test . [ -s "config/${LOG4J_CONFIG_OVERRIDE}" ] would succeed if the var wasn't defined (because -s passes if the dir exists), but later what was supposed to be a file is only a dir, so it throws the error. Now it'll be a -f and a -s test

  • JSON logging has been broken for a while, because our deployments should be using the labkey.log4j2.xml when JSON_OUTPUT=true, but were not.

  • labkey.log4j2.xml also needed updating to match changes in Issue 52684: Update Log4j plugin registration server#1069

Related Pull Requests

Changes

@labkey-willm labkey-willm merged commit 9f5d1f5 into develop Jun 19, 2025
8 checks passed
@labkey-willm labkey-willm deleted the fb_log4j_config_check_and_json_logging branch June 19, 2025 15:49
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