promotional bannermobile promotional banner

LogFilter

LogFilter keeps you Bukkit server.log clean.

http://transfer.daallexx.eu/images/logfilter.png

LogFilter

LogFilter is a Bukkit plugin which helps admins to keep their logs clean. After the plugin is loaded, all log entries could be filtered. Per default no filter rules are active. For more information see section Configuration.

Commands

  • /logfilter enable -> Enables log filtering
  • /logfilter disable -> Disables log filtering

Permissions

  • logfilter.commands -> Gives access to all LogFilter commands
  • logfilter.notify -> Allows to receive warnings, if an update of LogFilter is available
  • logfilter.* -> Gives access to all LogFilter related functions

Configuration

There are several predefined filter patterns which are not enabled by default. Uncomment filter rules to activate them. New patterns are expressed with RegularExpressions. If you don't want to learn regular expressions, just write a comment and we try our best to answer.

#  _                 ______ _ _ _            
# | |               |  ____(_) | |           
# | |     ___   __ _| |__   _| | |_ ___ _ __ 
# | |    / _ \ / _` |  __| | | | __/ _ \ '__|
# | |___| (_) | (_| | |    | | | ||  __/ |   
# |______\___/ \__, |_|    |_|_|\__\___|_|   
#               __/ |                        
#              |___/     Keep your Log clean!
#

# http://dev.bukkit.org/bukkit-plugins/logfilter/

# Per default, there is no activated rule. If you want to activate a predefined rule, just remove the # at beginning of the line. 
# If you want to add your own rules, just add it at the end. Regular expressions are used to describe the rules.
# In the last example you can see how you can use regular expressions to modify log messages

# Note: In some situations, it's useful to see all errors, so be careful with it.
# Examples may not up to date, if rules are wrong or too old, please notify me on dev.bukkit.org

#--------------#
# Filter-Rules #
#--------------#

filter-rules:
# Filter all Chat messages
#  - rule: '^<(([A-Za-z0-9_]{3,16}))> (.{0,})'

# Filter all "lost connetion" messages
#  - rule: '^/([0-9]{1,3})\.([0-9]{1,3})\.([0-9]{1,3})\.([0-9]{1,3})\:([0-9]{1,5}) lost connection'

# Filter "Reached End of Stream for {ip}" messages
#  - rule: 'Reached end of stream for /([0-9]{1,3})\.([0-9]{1,3})\.([0-9]{1,3})\.([0-9]{1,3})$'

# Filter all "Player issued server command" messages. Useful for example for AuthMe in fact of hidding passwords.
#  - rule: '([A-Za-z0-9_]{3,16}) issued server command: /(.{0,})'

# Filter "Read timed out" messages
#  - rule: 'Read timed out'

# Filter all login messages
#  - rule: '([A-Za-z0-9_]{3,16})\[/([0-9]{1,3})\.([0-9]{1,3})\.([0-9]{1,3})\.([0-9]{1,3})\:([0-9]{1,5})\] logged in with entity id ([0-9]{0,}) at \(\[(.{0,})\] ([0-9-+.]{0,}), ([0-9-+.]{0,}), ([0-9-+.]{0,})\)'

# Filter player disconnect messages
#  - rule: '([A-Za-z0-9_]{3,16}) lost connection: disconnect.(.{0,})'

# Filter messages like "§ePLAYER left the game."
#  - rule: '^(§e)([A-Za-z0-9_]{3,16}) left the game.'

# Filter all "Connection reset" messages
#  - rule: 'Connection reset'

# Console saving messages
#  - rule: 'CONSOLE: Forcing save\.\..*'
#  - rule: 'CONSOLE: Save complete\..*'

# Example with replacing. We're transforming the login message in this example.
#  - rule: '([A-Za-z0-9_]{3,16})\[/(([0-9]{1,3})\.([0-9]{1,3})\.([0-9]{1,3})\.([0-9]{1,3}))\:([0-9]{1,5})\] logged in with entity id ([0-9]{0,}) at \(\[(.{0,})\] ([0-9-+.]{0,}), ([0-9-+.]{0,}), ([0-9-+.]{0,})\)'
#    replace: true
#    replacement: 'Player $1 logged in. IP: $2'

#------------------#
# Some other stuff #
#------------------#

# Should LogFilter look for updates?
update-check: true

Links

Source: https://github.com/DaAllexx/LogFilter

Issue Tracker: https://github.com/DaAllexx/LogFilter

The LogFilter Team

profile avatar
  • 2
    Projects
  • 5.7K
    Downloads

More from _ForgeUser10301066