Jump to content

Bad Encoding For Log Files On Linux

  • Pending

When the game's log file is being moved over to the backup folder, for some reason it's content is cropped from the first unicode character (e.g. a letter with diacritics) to the end of the file. This happens with both, client and server log files (chat logs as well). I tested this behaviour on 3 different machines running various versions of Ubuntu Linux and got identic results. On Windows 10 this seems to work just fine, it doesn't display the special characters correctly but at least the log itself remains intact.

This problem makes it very hard to debug a restarted server that crashed and makes archived logs pointless, since basically the only thing that's needed to corrupt the logs is a printed player's/mod's name with special characters in it. Especially if the server's main language is not english.

Similiar problem was already reported a few months ago by Creastwave here.

I would really appreciate any fix to this highly frustrating issue (and I am not alone).

Thank you :)

Steps to Reproduce

Print out any special character to the game's console on linux, for example:image.thumb.png.be6ea90a62a30d2dc476460a1de1a229.png.

Restart the server/client you are running and check the end of the newest log file that saved in your backup folder.

  • Like 1

User Feedback

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...