Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
starstreams

Linux server display - not displaying events

Recommended Posts

When you run the arma dedicated linux sever in diagnostic mode ./server, you get a nice display of all these different events that are happening during the game.

I've been trying to figure out how to get the server to output this information while running in normal mode ./arma2server start

Is there a line in the server.cfg that could be added to get server events to display as though you were in diagnostic mode? Like right now the logfile="server.log"; outputs to this log file, but I'm not sure how to get the server to output to my display as the server is running. Is that done from the server.cfg file?

Thank you

Edited by starstreams

Share this post


Link to post
Share on other sites

One could theoretically alter the start script to give it the functionality you want (using the tee utility), but perhaps this simpler solution is enough:

Once you've launched the server using ./arma2server start, you can use the tail command to see what's being saved to the log file:

tail -f log.2302.txt

  • tail is a small utility that displays lines from the end of a (text) file
  • "-f" is used to follow the file. What it does is keep the log.2302.txt file open and print out whatever's being added to the file over time
  • You exit the utility using CTRL+C, at which point you're returned to the command prompt.

Share this post


Link to post
Share on other sites

Thanks Killswitch, That works great!

I've ran across that tail command in my Linux book, but I didn't think it could be use to read a log file in real time. Thank you.

I noticed, when I looked at the actual log file, it seems to long only problems that occur, but when you run the tail command it seems to display much more information, or all the events, such as buying things in Warfare for example. Anyway, Thanks for responding, this is what I needed!

Share this post


Link to post
Share on other sites
Sign in to follow this  

×