Ulysses

Ulysses Stuff => General Chat & Help and Support => Topic started by: Agentmass on July 09, 2013, 01:50:33 PM

Title: Logs Interface?
Post by: Agentmass on July 09, 2013, 01:50:33 PM
Is there any kind of addon for ULX or any addon for garrysmod that shows a nice interface for logs? Maybe something that lets you search for suspicious activity? I know there is a logs file in the ulx folder, but this takes forever to look through. I run a build server and I need to see who is doing things they shouldn't be doing fast and easy.

Is there a plugin for this? Or an addon? Or maybe it's already built into ULX and I'm just missing it?

Edit: I'm looking for something like when you press F8 on a TTT server and it highlights for you what everyone did.

Thanks.
Title: Re: Logs Interface?
Post by: Megiddo on July 09, 2013, 03:49:31 PM
No one's done anything like this yet, sorry. :(
Title: Re: Logs Interface?
Post by: Agentmass on July 09, 2013, 04:00:22 PM
Wow really? That's very surprising.

Do you have any advice on how I could easily look through logs, or find maybe a different addon to run alongside of ULX that could help me?
Title: Re: Logs Interface?
Post by: JamminR on July 09, 2013, 04:19:57 PM
Agentmass, one issue with what you suggest, and I'm reasonably sure I've seen some discussion/idea like you ask somewhere here before;
Logs can grow HUGE.
Getting large masses of data to the clientside for viewing can be, at best, challenging.
Title: Re: Logs Interface?
Post by: Agentmass on July 09, 2013, 05:21:22 PM
Yeah, that's a good point, but I always wondered how server owners were able to look through logs so quickly.
Title: Re: Logs Interface?
Post by: JamminR on July 09, 2013, 07:20:36 PM
There's a server connection application that, for all intents and purposes, ties into the dedicated server wherever it's hosted like a console.
Can be run locally. It probably has features to view items quickly.
(MrPres uses (used) it quite a bit, he'll have to provide the name, as I've totally forgotten it)

I'd imagine you could use FTP to grab a copy of logs real quick, then any editor of choice on local.
Some web consoles for some hosts probably have some type of console viewers.

Not sure how TTT does it. Perhaps it chunks up game sessions better so as to not tie down the server when viewing locally (using your previously mentioned F8)
One big file (ULX) or multiple little (TTT?) both have advantages and disadvantages.
Title: Re: Logs Interface?
Post by: MrPresident on July 09, 2013, 09:00:55 PM
HLSW is the program that I use. It connects to your server via rcon and streams the log to your client. You can also chat and see chat through it as well as running rcon commands.

HLSW - HalfLife Server Watch (http://www.hlsw.net/)


One other thing you can do if you run a web server on the same system as your game servers (which I do) is to create a virtual directory pointed at your log files directory.
http://www.g4p.org/sgslogs/

This allows you to open logs directly into your web browser, then you can use ctrl+f to search for keywords.
Title: Re: Logs Interface?
Post by: Agentmass on July 10, 2013, 05:00:52 AM
HLSW is the program that I use. It connects to your server via rcon and streams the log to your client. You can also chat and see chat through it as well as running rcon commands.

HLSW - HalfLife Server Watch (http://www.hlsw.net/)


One other thing you can do if you run a web server on the same system as your game servers (which I do) is to create a virtual directory pointed at your log files directory.
http://www.g4p.org/sgslogs/

This allows you to open logs directly into your web browser, then you can use ctrl+f to search for keywords.

Actually, that's a really good idea. I think I will go with using the webhost to quickly look at the logs. Just set a bookmark, and I have quick access.

Thanks.
Title: Re: Logs Interface?
Post by: Agentmass on July 12, 2013, 08:39:13 PM
Actually, I just tried to download HLSW as well, and it looks like they are no longer active. They last updated their Twitter a year ago and their forums are down and I'm not getting my registration E-Mail.

Are you sure they are still providing their service?
Title: Re: Logs Interface?
Post by: Decicus on July 13, 2013, 01:06:49 AM
They're still providing the service.

I'm using it regularly to monitor our TTT server, so it works fine. I didn't register recently though, I registered in January this year, so it's like 7 months ago.

Have you remembered to check the spam folder?
Title: Re: Logs Interface?
Post by: Agentmass on July 13, 2013, 10:35:12 AM
Yup, and I tried contacting them, but the only way to get technical support is through their forums which are down.

Title: Re: Logs Interface?
Post by: MrPresident on July 13, 2013, 11:26:35 AM
You don't need an account to use HLSW. They have/used to have a service that would sync your servers or something that required a login. Just go to their site and download the stable version. When it asks you to log in when you launch the program, just select use offline.
Title: Re: Logs Interface?
Post by: Decicus on July 13, 2013, 11:49:40 AM
I actually didn't know that was possible, I feel stupid. I've seen the "offline" button, but I never tried it. Thought it was only for LAN servers.
Title: Re: Logs Interface?
Post by: Agentmass on July 13, 2013, 04:33:28 PM
I just tried it out, and it looks like a very interesting tool.

Lot's of options and configurations.

Edit: Still don't see where you see the logs on this HLSW program. I can stream new log entries to the client, but what about old entries?
Title: Re: Logs Interface?
Post by: Decicus on July 14, 2013, 06:58:08 AM
Without using whatever method you've used before, not really.

What you can do to make it easier, since it seems you're only using ULX logs and not Garry's Mod's own log function, add "log 1" to the server.cfg and it should log everything that has happened in a folder called "logs" in your server directory. This should make it less messy, because instead of logging what happens per day (correct me if I'm wrong about that) through ULX, it logs per map and creates a new file every mapchange. Although, in the end you might have a bunch of files to look through, but it should be easier to find the right time if you sort them by "last modified".
Title: Re: Logs Interface?
Post by: Agentmass on July 14, 2013, 09:55:03 PM
I think the ULX logs plus the HLSW will be able to do what I need to get done.

The normal logs usually get too long and unorganized so I think I like the ULX logs better.

Thanks.
Title: Re: Logs Interface?
Post by: barmyaaron1 on July 17, 2013, 09:32:12 PM
here one http://coderhire.com/scripts/view/55 or u can ask sum one to make one for u
Title: Re: Logs Interface?
Post by: JamminR on July 18, 2013, 02:31:37 PM
WOW. $15.
Geez Team Ulysses, we should start charging for ULX.
I've payed less for huge packs of games (http://forums.ulyssesmod.net/index.php/topic,5435.msg30112.html#msg30112), let alone a tiny addon for a $5-$10 mod of a Source game.

I've nothing against someone charging for services, but to me, $15 is a good chunk of change for many folks who play Gmod.
I'd be more forgiving of 1-2$ just for the effort 'hey thanks' money.