Comment surveiller le journal SimRail LIVE tout en jouant

From SimRail Wiki
Revision as of 19:01, 1 March 2023 by Roman (talk | contribs) (Created page with "thumb|300x300pixel|Góra WlodowskaHow to Monitor SimRail Log LIVE While Playing. ==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 ''-Wait''and ''-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 comma...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Góra Wlodowska

How to Monitor SimRail Log LIVE While Playing.

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