Skip to content

Commit

Permalink
If -nolog is specified, do not log, not even to say that logging has …
Browse files Browse the repository at this point in the history
…been disabled [#4405]
  • Loading branch information
joncampbell123 committed Aug 31, 2023
1 parent 3a58e55 commit 6672464
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
2023.08.15
- Disable by default message confirmation after snapshot and AVI video
capture, but leave the option there for those who want to enable it (joncampbell123).
- Remove "LOG: Logging output has been disabled." output when -nolog
is specified on the command line (joncampbell123).
- Fix stuck Ins key problems by fixing a typo in src/ints/bios_keyboard.cpp.
The code is supposed to clear the "Ins key down" flag, but instead cleared
all bits EXCEPT "Ins key down" (joncampbell123).
Expand Down
3 changes: 1 addition & 2 deletions src/debug/debug_gui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -902,8 +902,7 @@ void LOG::Init() {
debuglog=0;
}
if (control->opt_nolog && !control->opt_test) {
control->opt_nolog = false;
LOG_MSG("Logging output has been disabled.");
// If the user says no log, that means NO LOGGING AT ALL. [https://github.com/joncampbell123/dosbox-x/issues/4405]
control->opt_nolog = true;
}

Expand Down

0 comments on commit 6672464

Please sign in to comment.