Logs problem

General forum for discussions regarding UTStatsDB
distraido
Posts: 3
Joined: Sat Jul 23, 2011 7:31 am

Logs problem

Postby distraido » Tue Jul 26, 2011 1:41 pm

Hello,
i have instaled utstatsdb 3.06, linux cent os 5.6, apache 2.2, mysql 5.5, php 5.0, unreal goty 436.
My problem is i am running the game server at home and have the utstats db runing on a payed webserver, and i don't know how to make the ut logs. on the ut.ini i activated the loging and i try to find the logs can't find them.
Another problem is i an running no-ip service do direct to my game server and on utsatst when i try to querry the server using the name of the no-ip service it cant reach my server but if i put the ip adress it reads my server.

could you guys give me a hand
My site is www.playart.com.pt

Panther
Site Admin
Posts: 502
Joined: Sat Dec 08, 2007 12:51 am
Contact:

Re: Logs problem

Postby Panther » Tue Jul 26, 2011 8:46 pm

The query should work fine with a host name instead of an IP address, so I don't know why it wouldn't work unless there's some problem with DNS queries on that server.

As for getting your logs over, the easiest method is likely to configure the FTP option in your stats to get them from your game server (configure FTP on the server if you haven't yet). Theoretically you could utilize the stats batch option in UnrealTournament.ini to automatically run the log parser on the web server.

distraido
Posts: 3
Joined: Sat Jul 23, 2011 7:31 am

Re: Logs problem

Postby distraido » Wed Jul 27, 2011 4:13 pm

The query should work fine with a host name instead of an IP address, so I don't know why it wouldn't work unless there's some problem with DNS queries on that server.

Theoretically you could utilize the stats batch option in UnrealTournament.ini to automatically run the log parser on the web server.
How can i do this?? i cant evem make the game create a log

Panther
Site Admin
Posts: 502
Joined: Sat Dec 08, 2007 12:51 am
Contact:

Re: Logs problem

Postby Panther » Thu Jul 28, 2011 6:14 am

Oh, I missed that part. That's the problem with reading posts from a phone. Did you have a look at the notes in the docs/LOGGING.txt file?

distraido
Posts: 3
Joined: Sat Jul 23, 2011 7:31 am

Re: Logs problem

Postby distraido » Fri Jul 29, 2011 3:53 pm

i don't have that file. on docs i only have config_guide, ranking, release and setup_guied

Panther
Site Admin
Posts: 502
Joined: Sat Dec 08, 2007 12:51 am
Contact:

Re: Logs problem

Postby Panther » Fri Jul 29, 2011 6:33 pm

Ah, I see. That might be because the file only exists in the unreleased new version of UTStatsDB that's still under development. One of these days I'll likely get back to it. Meanwhile, here are a couple of sections that may apply to you:

Code: Select all

=============================================================================== ========== Unreal Tournament Logging ========================================== =============================================================================== UT '99 has native logging capability which can be configured by editing your UnrealTournament.ini file: [Engine.GameInfo] bLocalLog=True bWorldLog=False [Engine.StatLog] LocalStatsURL=http://www.domain.com/ut/ LocalLogDir=../Logs bLogTypingEvents=True In order to facilitate automatic log processing, you can configure the following: [Engine.GameInfo] bBatchLocal=True [Engine.StatLog] LocalBatcherURL=/usr/bin/elinks LocalBatcherParams=--dump http://www.domain.com/ut/logs.php?pass=updatepass > /dev/null =============================================================================== ========== FTP Notes ========================================================== =============================================================================== UTStatsDB can download log files from an FTP server. FTP settings are configured in the Log Configuration section of the admin menu. Your web server must have FTP support included in PHP (standard on Windows) and must have ftp access through the firewall. Some game hosts do not have ftp ports open or do not have the necessary firewall configuration to support ftp.
Bear in mind, however, that I haven't actually tested the local batch processing to see if these instructions work yet.


Return to “UTStatsDB”