logger.addAppender(appender);
event = new LoggingEvent(logger.getName(), logger,
Level.DEBUG, "test message", null, new Object[0]);
LoggingEventVO eventVO = LoggingEventVO.build(event);
ByteArrayOutputStream bos = new ByteArrayOutputStream();
ObjectOutputStream oos = new ObjectOutputStream(bos);
oos.writeObject(eventVO);
oos.close();