AAO25.com

America's Army => General Chat => Topic started by: [SWISS]Merlin on Tuesday, January 17, 2012, 03:08:23 AM

Title: Serverlogfile - more details possible ?
Post by: [SWISS]Merlin on Tuesday, January 17, 2012, 03:08:23 AM
Is it possible to make the server logfile expanded with all the following sections in (system, admin, chat messages)? so we can see, what is going on while not online.

Title: Re: Serverlogfile - more details possible ?
Post by: Jonnym on Tuesday, January 17, 2012, 04:20:36 AM
No, too much work, not enough time.
Title: Re: Serverlogfile - more details possible ?
Post by: Go_Cat75 on Tuesday, January 17, 2012, 04:45:09 AM
I too would like to see the logs....  Newer version have it.
Title: Re: Serverlogfile - more details possible ?
Post by: Spanky on Tuesday, January 17, 2012, 13:21:29 PM
No, too much work, not enough time.

If I happen to find the old mod that logs admin and player messages, do you think you could remove the pb_say commo messages and a few other things from logs to make them easier to read?
Title: Re: Serverlogfile - more details possible ?
Post by: [SWISS]Merlin on Friday, February 10, 2012, 05:49:59 AM
Hey Jonny
After new release, it would be very nice to have some more informations about talking tasks in the logfiles.
Maybe now possible then ?
cya
Merl.
Title: Re: Serverlogfile - more details possible ?
Post by: Jonnym on Friday, February 10, 2012, 05:52:29 AM
i understand not the question
Title: Re: Serverlogfile - more details possible ?
Post by: [SWISS]Merlin on Friday, February 10, 2012, 06:00:09 AM
oh sorry.
reading the logfile today will not give me a answer, who was realy playing where and when (only incoming user..).
my wish would be to have some informations/log-entries about:
- admin messages (with timestamp)
- admin commands (with timestamp)
- player messages (with timestamp)

i would be able then to see, what was going on through the whole day and night on my servers.
i could see, witch player was kicked or banned from witch admin, for example.

at the moment, there are a lot of entries, witch do not say realy much about, whats going on in there.
just as a wish, like as it was on 2.8.5 - switching on/off player messages, system messages, admin messages.

Merl.

Title: Re: Serverlogfile - more details possible ?
Post by: Jonnym on Friday, February 10, 2012, 06:03:19 AM
Someone would have to write a uscript mod to do this. Sorry, i'm not interested in doing it, but if someone else does i'm happy to build it into the next update.
Title: Re: Serverlogfile - more details possible ?
Post by: [SWISS]Merlin on Friday, February 10, 2012, 06:05:00 AM
tks anyway.
maybe someone else...
Title: Re: Serverlogfile - more details possible ?
Post by: Spanky on Friday, February 10, 2012, 13:45:13 PM
I'll look in my code, I know someone did this sometime, it logged chats.
Title: Re: Serverlogfile - more details possible ?
Post by: [SWISS]Merlin on Friday, February 17, 2012, 05:00:54 AM
Spanky, have you found something about this ?
Title: Re: Serverlogfile - more details possible ?
Post by: guily6669 on Friday, February 17, 2012, 08:26:47 AM
why do u care so much of what people type and so... It will just increase a lot the log and probably lag more...
Keep Cool
Title: Re: Serverlogfile - more details possible ?
Post by: Go_Cat75 on Friday, February 17, 2012, 10:27:02 AM
why do u care so much of what people type and so... It will just increase a lot the log and probably lag more...
Keep Cool

Compared to pb its like 1% and all local wouldnt cause anything.
Title: Re: Serverlogfile - more details possible ?
Post by: Spanky on Friday, February 17, 2012, 14:37:36 PM
Spanky, have you found something about this ?

Unfortunately, no. I've looked twice through all my AA files and I can't find the mod that did this. I know it existed but I don't have it. Sorry.
Title: Re: Serverlogfile - more details possible ?
Post by: guily6669 on Friday, February 17, 2012, 15:15:37 PM
Compared to pb its like 1% and all local wouldnt cause anything.
Yeah PB suck...

I remember playing AA in some crappy pc's ages ago, on a lan without PB I could play well...

But online, it kinda made the pc very laggy and stucking more because of pbchecks.
Keep Cool
Title: Re: Serverlogfile - more details possible ?
Post by: BlueBlaster on Friday, February 17, 2012, 17:14:11 PM
If you make a folder called 'Logs' in the armyops folder, the server will log extra things in that folder like round ends/starts and such. But I don't remember if it logs chats. Worth a try.
Title: Re: Serverlogfile - more details possible ?
Post by: 82nd_DXO_COL=Shad on Sunday, March 11, 2012, 03:42:04 AM
If I recall, it was something ACI cooked up awhile back that made use of ServerActors
Title: Re: Serverlogfile - more details possible ?
Post by: 82nd_DXO_COL=Shad on Sunday, March 11, 2012, 04:16:45 AM
Found it:  http://www.s-o-t.com/uploads/ACIChatLogger20_Release.zip (http://www.s-o-t.com/uploads/ACIChatLogger20_Release.zip)
Instructions:  http://www.s-o-t.com/uploads/CLReadme20.html (http://www.s-o-t.com/uploads/CLReadme20.html)
Title: Re: Serverlogfile - more details possible ?
Post by: 82nd_DXO_COL=Shad on Monday, March 12, 2012, 01:16:16 AM
I did try using it with 2.5, and it crashes the server...so maybe an unreal script expert can dissect the ACI.u file.  It's not clear which version of AA it was designed for, but it was before AA2 started supporting chat logs natively.  And, again, seems I remember that ServerActors coupled with an ini section previously, also by ACI, but couldn't find anything on it.
Title: Re: Serverlogfile - more details possible ?
Post by: Possessed on Monday, March 12, 2012, 01:49:11 AM
it was for aa 2.6.
Title: Re: Serverlogfile - more details possible ?
Post by: Spanky on Monday, March 12, 2012, 02:07:21 AM
2.5 and 2.6 are very similar but things compiled for 2.6 won't work for 2.5 as you found out. I tried stripping the source out but I believe I'm missing some of the source so I won't try to compile.
Title: Re: Serverlogfile - more details possible ?
Post by: Possessed on Monday, March 12, 2012, 02:23:34 AM
Got comp. erros 2 :D, and then i remembered of humm3r's byte code converter.

I've converted it for 2.5, server doesnt crash and it works fine.
File was Renamed From ACI.u to SOTChatLogger.u to avoid mistakes.
Credits to the creators of the Mod and to Humm3r for his byte code converter.

edit, forgot to upload the file lol

http://dl.dropbox.com/u/64317034/SOTChatLogger20ForAA25.zip

Quote from: readme
Installation
1) Stop your game server.
2) Move SOTChatLogger.u to your servers System folder.
3)Open your servers ini file and find the section [AGP.StatsRouter] add the following line:

StatsDestinationClasses=class'SOTChatLogger.ChatLogger';

4) Ensure you have stats logging enabled bEnableStatLogging=True
5) Restart your game server.
Your chat logs will be available at http://myserverip/myserverip/ChatLogs.html
and here the logs where at the pb/svss/ folder.
Title: Re: Serverlogfile - more details possible ?
Post by: Spanky on Monday, March 12, 2012, 02:25:24 AM
I used his bytecode converter to decompile it but I think the source is missing the HTML code at the very least so I don't think it will work.
Title: Re: Serverlogfile - more details possible ?
Post by: Possessed on Monday, March 12, 2012, 02:37:49 AM
tested and it works fine!
Title: Re: Serverlogfile - more details possible ?
Post by: 82nd_DXO_COL=Shad on Monday, March 12, 2012, 05:30:37 AM
Seems to be working so far.  Thanks Possesed!