Skip to content

misc: make logging closer to C# and write to file#24

Merged
jsm174 merged 1 commit intomasterfrom
log-updates
Sep 10, 2025
Merged

misc: make logging closer to C# and write to file#24
jsm174 merged 1 commit intomasterfrom
log-updates

Conversation

@jsm174
Copy link
Owner

@jsm174 jsm174 commented Sep 10, 2025

This will properly support writing a log file to the drive rather than just the calling application.

~/.vpinball/directoutputconfig/GlobalConfig_B2SServer.xml:

<?xml version="1.0" encoding="utf-8"?>
<GlobalConfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <DOFPath />
  <CabinetConfigFilePattern>{GlobalConfigDirectory}/CabinetConfig.xml</CabinetConfigFilePattern>
  <LogFilePattern>{GlobalConfigDirectory}/DirectOutput.log</LogFilePattern>
  <EnableLogging>true</EnableLogging>
  <ClearLogOnSessionStart>false</ClearLogOnSessionStart>
</GlobalConfig>

Thanks again to @dekay for letting me know I forgot to port this!

@jsm174 jsm174 merged commit 11079f3 into master Sep 10, 2025
1 check passed
@jsm174 jsm174 deleted the log-updates branch September 17, 2025 11:30
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.

1 participant