JACOBSMILE / tmodloader1.4

An easy to configure Docker Image for tModLoader 1.4 servers.
Other
117 stars 29 forks source link

Accessing tmodloader crash logs #56

Open budak7273 opened 1 month ago

budak7273 commented 1 month ago

How can Terraria server crash logs be accessed? It seems like they would be produced in the terraria-server/ directory, which is not exposed as a volume nor part of the data directory.

Measurity commented 1 week ago

If the container is dead you can copy the files out using this command:

docker container cp tmodloader:/terraria-server/tModLoader-Logs/ ./terraria-logs

For future easy access you can mount it yourself by adding this to the docker create or docker run (change /path/on/host/logs to somewhere you want logs to be saved to):

-v /path/on/host/logs:/terraria-server/tModLoader-Logs