Hi all
I'm developing a project that use a headless build on a linux Google VM that act like a server. Everything works very well, but I would need the server to print the various Debug.Log on the linux console to monitor its operation. I have tried various solutions for this problem, and all of them involve the use of the `-logfile` command, that should generates a log file in a specific folder where all Debug.Logs are collected.
After several attempts I found two solutions: use `-logfile -`, which, in theory, should send log messages directly to the console, or `-logfile server.log`, which generates the log file which in turn can be sent to the console via the `tail -f` command.
The problem is that in the log file there is no trace of the Debug.Logs launched by the server, but only the normal report generated by unity and by the networking system (Mirror).
Do you know why it happens?
Thank you in advance
↧