Skip to content

move derby.log to logs folder instead of install root - #488

Open
tonygermano wants to merge 1 commit into
OpenIntegrationEngine:mainfrom
tonygermano:engine-derby-log
Open

tonygermano wants to merge 1 commit into
OpenIntegrationEngine:mainfrom
tonygermano:engine-derby-log

Conversation

@tonygermano

@tonygermano tonygermano commented Oct 14, 2026 •

Copy link
Copy Markdown
Member

By default, this file is created in the JVM working directory.

Release Note

Update conf/base_includes.vmoptions to set the derby log path to logs/

When using Derby, the derby.log file is created in the oie install folder by default. The base_includes.vmoptions file now sets the derby.stream.error.file system property to use the same logs/ folder used by default by log4j. The value can be overridden in custom.vmoptions to choose a different path. The destination directory must already exist.

@mgaffigan

Copy link
Copy Markdown
Contributor

Can this be actively set from code? This is presumably CWD dependent - we should be reducing our CWD dependency, not increasing.

@github-actions

github-actions Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

Test Results

  147 files  ±0    147 suites  ±0   4m 19s ⏱️ + 1m 3s
1 008 tests ±0  1 008 ✅ ±0  0 💤 ±0  0 ❌ ±0 
1 332 runs  ±0  1 326 ✅ ±0  6 💤 ±0  0 ❌ ±0 

Results for commit 196a724. ± Comparison against base commit 75c52f6.

♻️ This comment has been updated with latest results.

@tonygermano

Copy link
Copy Markdown
Member Author

Can this be actively set from code? This is presumably CWD dependent - we should be reducing our CWD dependency, not increasing.

@mgaffigan I'm not sure. Can come back to this later, but I just wanted to get it documented so I didn't forget about it, and a 1-liner was just as easy as opening an issue. I'm guessing anything else will take more effort.

By default, this file is created in the JVM working directory.

Signed-off-by: Tony Germano <tony@germano.name>
@tonygermano

Copy link
Copy Markdown
Member Author

@mgaffigan After checking again, I think this is the appropriate place to set it. This is the property the library looks for. This location is easy to override or set as an absolute path in custom.vmoptions.

Recently rebased to resolve a merge conflict with #447

@tonygermano
tonygermano requested a review from NicoPiel November 29, 2026 18:23
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.

2 participants