Tag: File

Windows Dedicated Server Logging

Okay, this is a feature that some of you server admins have been asking about for quite awhile.  I did some digging and it turns out that the FEAR Windows Dedicated Server does support logging to a text file by just adding a few additional command line parameters.

Here is how it works:

FEARServer.exe +errorlog 1 +alwaysflushlog 1 +errorlogfile fearserver.log

The log file will be saved into the same directory as FEARServer.exe (i.e. your install directory).

Please note that the log file will be overwritten if you restart the server and use the same log file name, so I recommend including a timestamp in the filename.

e.g.

LaunchServer.bat:

@ECHO OFF

set LOGF=%DATE:/=%.%TIME::=%
set LOGF=fearserver.%LOGF%.log
start fearserver.exe +errorlog 1 +alwaysflushlog 1 +errorlogfile “%LOGF%”

For some extra features check the help secion:

Host a Server / Advanced Server Options

Enjoy!