Skip to content

Change default log level from DEBUG to INFO#1761

Open
GiorgioMendieta wants to merge 2 commits into
TwilitRealm:mainfrom
GiorgioMendieta:feat/default-log-level
Open

Change default log level from DEBUG to INFO#1761
GiorgioMendieta wants to merge 2 commits into
TwilitRealm:mainfrom
GiorgioMendieta:feat/default-log-level

Conversation

@GiorgioMendieta
Copy link
Copy Markdown
Contributor

Changes default log level from 0=LOG_DEBUG to 1=LOG_INFO, preventing cluttering the journal.

I think this is useful for end users, during development devs can just open the app with the -l 0 flag anyways.

Closes #1000

@JoonasPitk
Copy link
Copy Markdown

Does this still write at debug level into the .log files? Those would still be useful, but being able to limit system journal spam is definitely needed.

@GiorgioMendieta
Copy link
Copy Markdown
Contributor Author

GiorgioMendieta commented May 23, 2026

Does this still write at debug level into the .log files? Those would still be useful, but being able to limit system journal spam is definitely needed.

No, log files are written at INFO level by default with this change, unless you specify the DEBUG log level with the flag-l 0 when launching the game.

I still think it is a sensible default for most users. If needed the log level can be changed to DEBUG (or other levels) for development or debugging. This prevents creating huge log files as well depending on the playtime.

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.

[Request] Option to limit log verbosity or disabling log creation entirely

2 participants