|
Dedicated Server Discuss technical issues related to hosting your own servers. |
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
altitude-printer: pretty-printing of altitude server logs
Occasionally I find it useful to dig through the logs from a server to figure out what happened when I was away. Unfortunately this (raw server logs) is quite difficult to read even with the help of grep and less, so I wrote a small utility program this afternoon to convert it into a more human-readable format. Just leaving this here in the chance anybody could find it useful in the future.
It presents the following information in a neatly formatted output: * Join and quit logs with quit reasons and vapor IDs * Chat with nicknames * Timestamps on all events (in delta time since server started) * Map switches * Explicit notification of time-gaps between meaningful events larger than 30 minutes. For bonus points, "watch -t -n 1 'cat log.txt | altitude-printer | tail -n 50'" I should stop wasting time and get back to solemnsky now... EDIT: woke up this morning realizing I made ~20 player IP addresses public, the offending data (raw server logs) is now removed from all git references. Last edited by MagneticDuck`; 11-09-2015 at 08:24 AM. |
#2
|
|||
|
|||
This can view a server's chat log by which server the speakers were in: Altitude Chat Parser
Like yours, this one is also open source. |
#3
|
|||
|
|||
It's worth noting, to avoid confusion on the part of third parties, that these two tools have very different functions: mine parses server-side logs (servers/log.txt on the server) and Aki's parses client-side logs (.local/share/Steam/steamapps/common/Altitude/config/chat_log.txt). Thanks for the link Aki.
EDIT: I was wrong, Aki's utility also deals with server logs. Last edited by MagneticDuck`; 11-10-2015 at 06:18 PM. |
#4
|
|||
|
|||
Quote:
Here's a server log with the IPs as LAN only, so they are safe to be public, but it only has one player in server: http://pastebin.com/raw.php?i=EdNuEZVP Last edited by Aki1024; 11-10-2015 at 05:04 PM. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
DONE - Server maintenance: November 19th, upgrading server hardware | Karl | News | 6 | 11-21-2013 09:11 PM |
Fourth team in logs | Carlos98 | Tech Support | 2 | 10-01-2013 06:39 AM |
Server Logs Lack Team vs All chat | Aki1024 | Tech Support | 4 | 05-25-2012 07:32 AM |
How do i post a server message in my server without joining the server? | Knight | Dedicated Server | 22 | 09-27-2010 11:02 PM |