Server Log file?

hello, currently my LOG_HOME keeps updating with time stamps but nothing ever goes into it. What is the parameter to output to the log file?

You could run the cfx server with > logfile.log appended to the end, that way everything will be redirected to the log, but you won’t be able to see it in the server’s command prompt (if on linux).

2 Likes

What? Can u make me a good traduction of this? i dont understand. How can u log the server in a file?

1 Like

you can use the following to append log output to both the live terminal as well as a log file…
‘>&1 | tee -a logfile.log’

example…
$ …/server/run.sh +exec server.cfg >&1 | tee -a logfile.log

3 Likes

Ok, i dont understand this.

how do you normally start your fivem server?

I have my server hosted on zap-hosting.

unfortunately using zap-hosting doesn’t give you access to the command line interface in order customize your logs and perform other general server administrative tasks.

perhaps if you pay for a higher tier server on zap-hosting (a more expensive server), you may then have access to save to log files… or perhaps inside the zap-hosting web interface you can download the log files from somewhere.

but i would recommend looking into AWS… you can get a server for 75% less than what zap charges (that indeed handles 32 user slots), and of course you get full administrative access to the server you are paying for.

I will take a look i buy a zap-hostin server cause the blacklist problema and new essentialmode and her advertisment update. U know :S

blacklist problem?

Server localhost ip blacklisted from server fivem list.

1 Like

Then email support@fivem.net, y’know, as the error specifically tells you to do.

1 Like

unnecessarily necro’d