Zarius / Bukkit-OtherBlocks

OtherBlocks (now known as OtherDrops) plugin for Bukkit (dev build: https://www.mediafire.com/?i6ows1g6kus2o0l)
http://dev.bukkit.org/server-mods/otherdrops/
GNU General Public License v3.0
17 stars 17 forks source link

Print all errors/warnings to console #277

Open stvncao5 opened 11 years ago

stvncao5 commented 11 years ago

Apparently, I've been getting "WARNING" (not error) messages in my command prompt, but not my Pail GUI, about certain things. This has been going on for awhile now, and I didn't know about it simply because I don't ever look at the command prompt window. It would be great if you could print these to Pail's GUI too.

And the warnings are slightly puzzling, because I'm sure I have everything configured right (though, I could've been editing my drops under outdated documentation). Here are some of the warnings I got (they aren't stack traces, so I don't need to format them):

[WARNING] [OtherDrops:2.8b.552] Unknown event type EXPLOSION/5.5/FIRE; skipping...

[WARNING] [OtherDrops:2.8b.552] Illegal data for QUARTZ_BLOCK: 2_4

[WARNING] [OtherDrops:2.8b.552] No enum constant org.bukkit.DyeColor.BLUEORE

[WARNING] [OtherDrops:2.8b.552] No enum constant org.bukkit.DyeColor.BLUEBLOCK

By the way, I was using CraftBukkit 1.5.2-R0.1 along with OtherDrops 2.8b542. I have no idea why that warning says "OtherDrops 2.8b552". I've never gotten a dev build for this plugin; I downloaded b542 from the dev.bukkit page.

Zarius commented 11 years ago

Hmm, I've got a couple of ideas for different ways to log errors, I'll make a dev build for your to test later.