@@ -0,0 +1,1157 @@
+import java.util.logging.Formatter;%0Aimport java.util.logging.LogRecord;%0A%0Aimport java.io.PrintWriter;%0Aimport java.io.StringWriter;%0A%0Aimport java.text.SimpleDateFormat;%0A%0Aimport com.ibm.nmon.gui.Styles;%0A%0Apublic final class BasicFormatter extends Formatter %7B%0A    private final SimpleDateFormat format = new SimpleDateFormat(Styles.DATE_FORMAT_STRING_SHORT);%0A%0A    @Override%0A    public String format(LogRecord record) %7B%0A        StringWriter buffer = new StringWriter(256);%0A%0A        buffer.append(format.format(record.getMillis()));%0A        buffer.append(%22 %22);%0A        buffer.append(record.getLevel().getName());%0A        buffer.append(%22 %22);%0A        buffer.append(record.getSourceClassName());%0A        buffer.append(%22.%22);%0A        buffer.append(record.getSourceMethodName());%0A        buffer.append(%22: %22);%0A        buffer.append(record.getMessage());%0A        buffer.append(%22%5Cn%22);%0A%0A        if (record.getThrown() != null) %7B%0A            PrintWriter pw = new PrintWriter(buffer);%0A            record.getThrown().printStackTrace(pw);%0A%0A            pw.close();%0A        %7D%0A        // else nothing since StringWriter.close() is a no-op%0A%0A        return buffer.toString();%0A    %7D%0A%7D%0A

Create BasicFormatter.java