Hi, There: I'm using java.util.logging api. How can I define my own text format (instead of using SimpleFormatter) in log file? Does anyone have some sample codes for that please? Thanks in advance David
here is an option to extend SimpleFormatter like: class MyFormatter extends SimpleFormatter{ public String format(LogRecord record){ return (record.getMessage()+"\r\n"); } }