ravetroll / BedrockService

Windows Service Wrapper around Bedrock Server
Apache License 2.0
26 stars 10 forks source link

Why does the service log correctly in Visual Studio and only log partially when run as a service #2

Closed ravetroll closed 4 years ago

ravetroll commented 4 years ago

This issue is explained in https://stackoverflow.com/questions/50746454/why-is-my-windows-service-not-logging-until-the-service-is-restarted

The solution I took was to try the process named log files. That does create a bit of a mess of log files so instead I chose to write to the windows event log, where file concurrency issues are not an issue.