How to Monitor SimRail Log LIVE While Playing

From SimRail Wiki
Revision as of 00:37, 18 April 2024 by Roman (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Góra Wlodowska

Ambox speedy deletion.png This is the source page. This page is not allowed for translation.

Tutorial

Open up PowerShell:

1.  Change directory to your SimRail "logs" directory by running:
cd $home\AppData\LocalLow\SimKol\SimRail\logs

2. Run the Get-Content command with the -Waitand -Tail switches to see the most recent log output:
Get-Content .(PATH to LOG.txt) -Wait -Tail 5

Naturally, you have to edit the 2nd command and replace  PATH to LOG.txt with the filename of the most recent log. What I do is just empty the log directory (%appdata%..\LocalLow\SimKol\SimRail\logs). When you're editing the command for step 2, it will look like this "Get-Content .*Sim -Wait -Tail 5", once you start typing out the path to the log, you can hitTab to autofill**, so, you can type "Sim" and hit Tab and it will give you the full path, something like ".\SimRail_log_2023-02-14_20-25-11.txt*"

Author: PJK