Skip to content

Commit cf6fc71

Browse files
committed
Updated CHANGELOG.md
1 parent 8a8f1a3 commit cf6fc71

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,14 @@ v4.2
3434
- The new Matlab CustomStaticOptimization.m guides the user to build their own custom static optimization code.
3535
- Dropped support for separate Kinematics for application of External Loads. ([PR #2770] (https://github.com/opensim-org/opensim-core/pull/2770)).
3636
- Refactored InverseKinematicsSolver to allow for adding (live) Orientation data to track, introduced BufferedOrientationsReference to queue data (PR #2855)
37+
- `opensim.log` will only be created/opened when the first message is logged to it (PR #2880):
38+
- Previously, `opensim.log` would always be created, even if nothing was logged
39+
- Added a CMake option, `OPENSIM_DISABLE_LOG_FILE` (PR #2880):
40+
- When set, disables `opensim.log` from being used by the logger by default when the first message is written to the log
41+
- Log messages are still written to the standard output/error streams
42+
- Previously, `opensim.log` would always be created - even if nothing was written to it (fixed above)
43+
- Setting `OPENSIM_DISABLE_LOG_FILE` only disables the automatic creation of `opensim.log`. File logging can still be manually be enabled by calling `Logger::addFileSink()`
44+
- This flag is `OFF` by default. So standard builds will still observe the existing behavior (`opensim.log` is created).
3745

3846
v4.1
3947
====

0 commit comments

Comments
 (0)