ultraq / redhorizon

Recreating the original 2D Command & Conquer games
Apache License 2.0
6 stars 4 forks source link

Emit logs to a predictable location #32

Closed ultraq closed 1 year ago

ultraq commented 4 years ago

Logback is configured to emit logs to a .logs directory in the current working directory. Works fine if it's the project directory, but is annoying if it's from anywhere else. Is there a way to always emit the logs to the project directory? Failing that, they might need to go to somewhere that's predictable, like the temp directory or the user home.

ultraq commented 1 year ago

For now, I'll get them going to ${java.io.tmpdir}/redhorizon/logs/