Discovery Gaming Community
Log Filter - Printable Version

+- Discovery Gaming Community (https://discoverygc.com/forums)
+-- Forum: Discovery Development (https://discoverygc.com/forums/forumdisplay.php?fid=7)
+--- Forum: Discovery Developers Forum (https://discoverygc.com/forums/forumdisplay.php?fid=183)
+---- Forum: Discovery Unofficial Development (https://discoverygc.com/forums/forumdisplay.php?fid=389)
+---- Thread: Log Filter (/showthread.php?tid=149489)



Log Filter - Corile - 04-17-2017

Hello.

I wrote a small web app to filter and prettify DSAce logs from the game to put in posts so that they look a bit nicer.

Log Filter

Features:
  • Five filters: remove screen resize messages, remove timestamps, remove death messages, remove docking messages, remove oorp stuff (currently: // messages, auto-buy log, game shutdown, /time, /showscan, /net, TLAGSNET log)
  • Templating
  • Log whitelist

Usage:
The templating is fairly simple. If "Remove timestamps" is checked, $1 indicates the ship name, otherwise $1 is the timestamp and $2 is the name.

Whitelist will remove all messages unless they contain a particular string (such as a char name). One string per line. Using whitelist is preferrable to the five checkbox filters, because it ensures that only wanted messages pass through the filter.

Example usage:



RE: Log Filter - Alley - 04-17-2017

Nice work


RE: Log Filter - Sombs - 04-17-2017

Pretty cool! Can you add something to remove the [05.02.2017 18:24:27]s? And could that also work with Skype logs, as they are pretty similar, with name and date?


RE: Log Filter - Corile - 04-17-2017

(04-17-2017, 01:08 PM)Sombra Hookier Wrote: Pretty cool! Can you add something to remove the [05.02.2017 18:24:27]s? And could that also work with Skype logs, as they are pretty similar, with name and date?

Remove timestamps?

And no, I won't add functionality for skype because you should stop using skype.


RE: Log Filter - Sombs - 04-17-2017

Oh, it thought timestamps was related to /time

Good job anyway. ;3


RE: Log Filter - WolfO9 - 07-06-2018

Thank you sir!


RE: Log Filter - Corile - 01-19-2023

Apparently some people have been having issues with the button not doing anything.
I'm not sure what the issue is but if you click "View in Editor" on codepen it should work.
Probably some issue on their end