That guide was originally penned by Phuzzylodgik, edited by dragomagol aka tattle, and has now been edited again by Timberpoes
- Download Notepad++ https://notepad-plus-plus.org/downloads/
- Download the logs you need.
- For everyone:
- Statbus links to logs for that shift via "Logs: Original" button, but also has its own viewing setup. In practice, admins that use Statbus tend to have a number of URLs like https://sb.atlantaned.space/rounds/188889 in thier browser history, and simply replace the round ID then follow the link to find our own hosted logs.
- Scrubby links to logs for that shift via "View the original source files" link, but also has its own viewing setup. In practice, admins that use Scrubby tend to have a number of URLs like https://scrubby.melonmesa.com/round/188643 in thier browser history, and simply replace the round ID then follow the link to find our own hosted logs.
- Our public logs in the /{server_name}/data/logs/{year}/{month}/{day} subdirectory.
- These resources may take upwards of an hour to update and go live from the shift ending. If nothing works for you, try again in an hour.
- Additional ways for admins:
- In game via the Admin Tab >> Get Server Logs/Get Current Logs verb set.
- Our raw, uncensored and unredacted logs - Make sure you're logged in on the forums, or you'll be unable to read raw logs! Do not use raw logs in appeals without removing all private information from them manually. If in doubt, ask the team for help.
- "game" logs include say, OOC, emotes and a number of other non-combat messages including admin actions.
- "attack" logs include all attacks.
- For everyone:
- This guide will assume you're not using 3rd party websites to view the logs and that you're accessing our public logs either by linking from Scrubby or Statbus, or by finding them directly on the publics log page by date. This approach is the current best-practice taught to new admins, so players should be able to pick it up very easily too.
- Open the logs in Notepad++ and copy-paste them all into a single document.
- Use CTRL+F to brings up the search window.
- Click over to the Mark tab.
- Hit the "Clear all marks" button to the right.
- Make sure the Bookmark Line option is tickeed.
- Enter one of the ckeys you're looking for in the search bar.
- Click Mark All
- Repeat adding keys and clicking Mark All for each ckey you're interested in.
- This has added a marker to all lines with the specific ckey in them. We will now filter out all other lines.
- Go to the Search dropdown menu at the top of the window.
- Hover your mouse over the Bookmark submenu, then select Remove Unmarked Lines from it.
- Your now have all log entries that involve the ckeys you were looking for, but they will be out of order if you've used multiple different log files. Because our log entries start with datetime stamps, we can rely on Lexicographic sorting to merge them all together.
- Go to the Edit dropdown menu at the top of the window.
- Hover your mouse over the Line Operations submenu, then select Sort Lines Lexicographically Ascending from it.
- For larger log files or when using multiple logs, especially attack logs, this may take 30-40 seconds and your Notepad++ may appear to freeze while doing it. Just be patient and wait for it to finish!
When using logs in appeals, ensure you provide links to the logs you have relied upon and any edits you have made.
Example:
Logs used
https://tgstation13.org/parsed-logs/bas ... 5/game.txt
https://tgstation13.org/parsed-logs/bas ... attack.txt
These logs were filtered by the ckeys "Timberpoes", "MrMelbert" and "Mothblocks"
Good practice is to wrap the logs in code tags and, where the logs are long, spoiler them with a summary like so:
They attacked me while I was hijacking the shuttle
Spoiler: