but i have now a different problem...after i deleted serverlog and restarted the server, new serverlog.txt is created but its empty. players joined and left but nothing in the log. shouldnt info immediately appear in log?
Are you sure you didn't something in the config? Maybe you've changed path for logging? Open you config and see what is set for seta g_log.
Are you sure you opened actual serverlog.txt? Maybe you accidentally opened some other file, in wrong folder? Search other folders for serverlog.txt.
Maybe an editor with one you open a log locked the file? Close an editor, restart server and watch will log grow in size or not.
Too see recent changes in log you have to reopen it in the editor, editor isn't a console, it isn't real-time.
it would be enough for me actually just to log everything what i see in cmd terminal while server is running. its also much easier to read anyway.
You can add to command line of your server:
You'll get a new log called qconsole.log. Maybe it will fit your needs.