public void oneway(Object command) throws IOException { // Changed this method to use a LogWriter object to actually // print the messages to the log, and only in case of logging // being active, instead of logging the message directly. if (logging && log.isDebugEnabled()) { logWriter.logOneWay(log, command); } next.oneway(command); }