Are you on-prem ? if yes you could use this :
string msg =" Test Log Message";
Ice.Diagnostics.Log.WriteEntry(msg);
it will write in the server windows event journal.
You can see Create and Log to a File (in customization) - #2 by surendrapal for more ideas.