Should I use logging on production?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By putskan

Hi,
I’ve finished developing a multiplayer, web-based game, and I’d like to deploy it on a dedicated server.
I’ve seen there’s a built-in logging option under:
“Project Settings > Logging > File Logging”

Would you suggest turning it on when deploying the game on the server?

Thanks in advance.

While it may be a good idea to log the output of the game, what would the log contain? There shouldn’t be any debugging information in production (that should, instead, be used in development).

Ertain | 2021-01-03 19:47

There’s a high possibility there are unhandles some hanandled edge cases & exceptions in my code, so I figured an error log may be a good idea.
Are you saying it’s not a good practice?

putskan | 2021-01-03 20:14