Log files on srcds

Ask questions about dedicated servers here and we and other users will do our best to answer them. Please also refer to the self-help section for tutorials and answers to the most commonly asked questions.
Post Reply
darkremixx
New to forums
New to forums
Posts: 11
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Thu Oct 28, 2010 6:54 am

Log files on srcds

Post by darkremixx »

I was looking around a bit and was wondering what is the best practices for setting up and checking out log files for source servers (more specifically, TF2)

For example, is there a setting where u can set the amount of times the log file writes?
Also, where is the most pertinent log files located?

Any help would be appreciated, Thanks!
User avatar
TimeX
Staff
Staff
Posts: 1731
Joined: Thu Jul 22, 2004 12:24 am
Location: Big Bear, CA

Re: Log files on srcds

Post by TimeX »

TF2 logs are fairly simple with limited options. You will first need to enable logging by putting this in your autoexec.cfg file: log 1

This will cause the server to generate log files in the tf/logs/ folder. You can adjust the detail of the logs by adjusting the mp_logdetail setting. If I remember correctly, this can be set from 1 to 3, with higher giving more detail. There is no adjusting when the log file is written to, it just constantly writes to the log.
TimeX
Post Reply