I redirected Java Logger to log in file using following code:
Handler handler = new FileHandler("test.log", LOG_SIZE, LOG_ROTATION_COUNT);
Logger.getLogger("").addHandler(handler);
but it logs in XML format. I want to be exactly like output (i.e. plain text). How can I do that?