ULX

Author Topic: Logs Interface?  (Read 5726 times)

0 Members and 2 Guests are viewing this topic.

Offline Agentmass

  • Newbie
  • *
  • Posts: 25
  • Karma: -2
Logs Interface?
« 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.
« Last Edit: July 09, 2013, 01:52:08 PM by Agentmass »

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Logs Interface?
« Reply #1 on: July 09, 2013, 03:49:31 PM »
No one's done anything like this yet, sorry. :(
Experiencing God's grace one day at a time.

Offline Agentmass

  • Newbie
  • *
  • Posts: 25
  • Karma: -2
Re: Logs Interface?
« Reply #2 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?

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Logs Interface?
« Reply #3 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.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Agentmass

  • Newbie
  • *
  • Posts: 25
  • Karma: -2
Re: Logs Interface?
« Reply #4 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.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Logs Interface?
« Reply #5 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.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: Logs Interface?
« Reply #6 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


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.

Offline Agentmass

  • Newbie
  • *
  • Posts: 25
  • Karma: -2
Re: Logs Interface?
« Reply #7 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


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.

Offline Agentmass

  • Newbie
  • *
  • Posts: 25
  • Karma: -2
Re: Logs Interface?
« Reply #8 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?

Offline Decicus

  • Hero Member
  • *****
  • Posts: 552
  • Karma: 81
    • Alex Thomassen
Re: Logs Interface?
« Reply #9 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?
Contact information:
E-mail: alex@thomassen.xyz.
You can also send a PM.

Offline Agentmass

  • Newbie
  • *
  • Posts: 25
  • Karma: -2
Re: Logs Interface?
« Reply #10 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.


Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: Logs Interface?
« Reply #11 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.

Offline Decicus

  • Hero Member
  • *****
  • Posts: 552
  • Karma: 81
    • Alex Thomassen
Re: Logs Interface?
« Reply #12 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.
Contact information:
E-mail: alex@thomassen.xyz.
You can also send a PM.

Offline Agentmass

  • Newbie
  • *
  • Posts: 25
  • Karma: -2
Re: Logs Interface?
« Reply #13 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?
« Last Edit: July 13, 2013, 06:51:56 PM by Agentmass »

Offline Decicus

  • Hero Member
  • *****
  • Posts: 552
  • Karma: 81
    • Alex Thomassen
Re: Logs Interface?
« Reply #14 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".
Contact information:
E-mail: alex@thomassen.xyz.
You can also send a PM.