ThisLogMustDie !
French developer |
---|
ThisLogMustDie ! - un-spam-ize your console !
Version: (the bottom link always refer at the latest version)
S o r r y
The developpement of this plugin has ceased. You can grab the latest jar or browse the sources on github
If you find that some plugins were not properly filtered, let me know !
Check your regex before asking for unfiltered messages : http://gskinner.com/RegExr/
Features
Remove all these unwanted messages from the console ! Clean your main log, keep only what really matter. With this plugin, you can remove spam, hide password on player login with /login (in AuthMe, for example), even separate you log files, one for each plugins !
Read the Configuration page before asking
Upcoming features
- exceptions in filters
Color codes
Colors
- BLACK : &0
- DARK_BLUE : &1
- DARK_GREEN : &2
- DARK_AQUA : &3
- DARK_RED : &4
- DARK_PURPLE : &5
- GOLD : &6
- GRAY : &7
- DARK_GRAY : &8
- BLUE : &9
- GREEN : &a
- AQUA : &b
- RED : &c
- LIGHT_PURPLE : &d
- YELLOW : &e
- WHITE : &f
Specials
- MAGIC : &k
- BOLD : &l
- STRIKETHROUGH : &m
- UNDERLINE : &n
- ITALIC : &o
- RESET : &r
Q&A
- I have strange characters at the end of some line of the console (something like ' [m')
Your system (probably Windows 64-bit) dosn't support color in console. It does not depend on me, it's the OS. disable color in config to remove it
Download links
- link removed
- Sources on GitHub
Other plugins : InventorySQL
@sp0ng3b0b
This way i can only have one byte at time, it would degrade the perfs I think
@herpingdo Maybe this way? :
use System.setOut function (and setErr) The following program will only print 1 (and not 2)
public static void main(String[] args) throws FileNotFoundException { System.out.println("1"); System.setOut(new PrintStream(new OutputStream() { @Override public void write(int arg0) throws IOException { TODO Auto-generated method stub
} })); System.out.println("2"); }
@brohoof
This should work for everything that is outputted through Bukkit.getLogger() or this.getLogger(), or even Logger.getLogger("Minecraft"). It won't work for plugins that log through System.out.
2013-06-24 07:45:33 [WARNING] [ThisLogMustDie] The auto-updater encounter an unexpected error 2013-06-24 07:45:33 [WARNING] [ThisLogMustDie] Don't panic ! Your plugin still works, but please report the error :) 2013-06-24 07:45:33 [WARNING] [ThisLogMustDie] The updater will now be disabled 2013-06-24 07:45:33 [WARNING] [ThisLogMustDie] Updater version 1.2 2013-06-24 07:45:33 [WARNING] [ThisLogMustDie] Attached to ThisLogMustDie 2013-06-24 07:45:33 [WARNING] [ThisLogMustDie] Message: Server returned HTTP response code: 403 for URL: http://api.areku.fr/bukkit/ThisLogMustDie/version 2013-06-24 07:45:33 [WARNING] [ThisLogMustDie]
-------In case anyone picks up development, this doesnt seem to filter everything, just stuff that would normally have [INFO] before it. Maybe its impossible to intercept all console output?
this isint blocking [server] INFO list please help
Could it be possible to run a command if some criteria is met?
Or is it beyond the goal of this plugin.
Hey there, nice plugin but i have a few questions:
- Is is possible to modify a plugins text like:
[INFO] PluginXY loaded spam spam [INFO] PluginXY spam something i don't care spam spam [INFO] PluginXY spam spam spam [INFO] PluginXY spam spam spam [INFO] PluginXY spam spam spam
to
[INFO] PluginXY loaded.
- is it possible to disable "Loading properties" and "Generating keypair"?
Ok, the plugin works well with the default filters, however when it comes to set up my own filter i fail badly. I have tried now for about 2 hours to filter a single line from the log containing "joined with:"
complete line looks like this:
i tried this (and it highlights the complete line look at this screenshot)
- type: RegexFilter expression: '(.*)joined with:(.*)'
- type: Partialfilter expression: 'joined with'
and a bunch of other expressions without success :( I restarted the server everytime after applying changes to the filters.yml
Thanks in advance
edit: I just found out that the PartialFilter works well for lines containing "Connection reset" or "lost connection" but not for the one with "joined with" ? Is it because that particular line is too long or something?
@wirexbox
- type: PartialFilter expression: 'issued server command: /login' log-to-file: login.log
How do I filter the /login command. I have tried some things but I still haven't found out how.
What I have tried: filters: - type: ExactFilter expression: '[CONSOLE] [INFO] {PLAYERNAME} issued server command: /login {PASSWORD}'
And I have tried many more things but I still cant find out how. (The login plugin I use is xAuth)
@uSoc_lifehome
It probably works but appearing error on start idk how later.
Umm, maybe you guys needs it? (Actually I do need it...)
PS: NOT TESTED OUT, PM me if necessary.
@ThisIsAreku
update please :)
CB: 1.5.1-R0.2
http://wklej.org/id/1003794/
Any update pls?
I get this error
2013-04-02 22:09:00 [SEVERE] Plugin attempted to register task while disabled initializing ThisLogMustDie v1.0.1 (Is it up to date?)
org.bukkit.plugin.IllegalPluginAccessException: Plugin attempted to register task while disabled
at org.bukkit.craftbukkit.v1_5_R2.scheduler.CraftScheduler.validate(CraftScheduler.java:394)
at org.bukkit.craftbukkit.v1_5_R2.scheduler.CraftScheduler.runTaskTimer(CraftScheduler.java:120)
at org.bukkit.craftbukkit.v1_5_R2.scheduler.CraftScheduler.scheduleSyncRepeatingTask(CraftScheduler.java:116)
at org.bukkit.craftbukkit.v1_5_R2.scheduler.CraftScheduler.scheduleSyncDelayedTask(CraftScheduler.java:100)
at fr.areku.tlmd.Main.initializeMasterFilter(Main.java:170)
at fr.areku.tlmd.Main.onLoad(Main.java:65)
at org.bukkit.craftbukkit.v1_5_R2.CraftServer.loadPlugins(CraftServer.java:244)
at org.bukkit.craftbukkit.v1_5_R2.CraftServer.<init>(CraftServer.java:217)
at net.minecraft.server.v1_5_R2.PlayerList.<init>(PlayerList.java:55)
at net.minecraft.server.v1_5_R2.DedicatedPlayerList.<init>(SourceFile:11)
at net.minecraft.server.v1_5_R2.DedicatedServer.init(DedicatedServer.java:105)
at net.minecraft.server.v1_5_R2.MinecraftServer.run(MinecraftServer.java:379)
at net.minecraft.server.v1_5_R2.ThreadServerApplication.run(SourceFile:573)
@Enkious
Enkious, how did you fixed that issue? I wonder because I have the same problem.
Ive fixed my previous issue. but i have another.. how would i block this?
can one help me there?
http://dev.bukkit.org/server-mods/thislogmustdie/tickets/14-how-i-must-write-the-filter/
Sorry to bug anyone, ive tryed reading the config file. but don't understand it. Im trying to hide a few things.. maybe someone can help me. I want to hide these..
Thank you in Advance.