// Get own log file
try {
// Create an appending file handler
new File(this.getDataFolder() + "/temp/").mkdir();
FileHandler handler = new FileHandler(this.getDataFolder() + "/temp/war.log", true);
// Add to War-specific logger
Formatter formatter = new WarLogFormatter();
handler.setFormatter(formatter);
this.getLogger().addHandler(handler);
} catch (IOException e) {
this.getLogger().log(Level.WARNING, "Failed to create War log file");
}