/** * Write to the general log, as well as any service specific logs the audit message at INFO * @param message the INFO level audit message */ private void auditInfo(String message) { log.info(message); serviceLog.info(message); if (trace()) { trace.info(message); } }
boolean traceOn = trace(); boolean traceOrDebugOn = traceOn || log.isDebugEnabled();
/** * Write to the general log, as well as any service specific logs the audit message at WARN * @param message the WARN level audit message */ private void auditWarn(String message) { log.warn(message); serviceLog.warn(message); if (trace()) { trace.warn(message); } }
/** * Write to the general log, as well as any service specific logs the audit message at INFO * @param message the INFO level audit message */ private void auditInfo(String message) { log.info(message); serviceLog.info(message); if (trace()) { trace.info(message); } }
/** * Write to the general log, as well as any service specific logs the audit message at WARN * @param message the WARN level audit message */ private void auditWarn(String message) { log.warn(message); serviceLog.warn(message); if (trace()) { trace.warn(message); } }
private void handleException(String msg, Exception e) { serviceLog.error(msg); log.error(msg, e); if (trace()) trace.error(msg + " :: " + e.getMessage()); throw new SynapseException(msg, e); }
private void handleException(String msg) { serviceLog.error(msg); log.error(msg); if (trace()) trace.error(msg); throw new SynapseException(msg); }
private void handleException(String msg) { serviceLog.error(msg); log.error(msg); if (trace()) trace.error(msg); throw new SynapseException(msg); }
private void handleException(String msg, Exception e) { serviceLog.error(msg); log.error(msg, e); if (trace()) trace.error(msg + " :: " + e.getMessage()); throw new SynapseException(msg, e); }
if (trace()) { trace.info("Loading the WSDL : " + (wsdlKey != null ? " key = " + wsdlKey : toString().toLowerCase()); } else { if (trace()) { trace.info("WSDL was unable to load for: " + publishWSDL); trace.info("Please add <syn:parameter name=\"enableURISafeMode\">true" + if (trace()) { trace.info("WSDL was unable to load for: " + publishWSDL); trace.info("enableURISafeMode: true"); return null; } else { if (trace()) { trace.info("WSDL was unable to load for: " + publishWSDL); trace.info("enableURISafeMode: false"); if (trace()) trace.info("Did not find a WSDL. Assuming a POX or Legacy service"); proxyService = new AxisService(); AxisOperation mediateOperation = new InOutAxisOperation( if (trace()) trace.info("Serializing wsdlElement found to build an Axis2 service"); wsdlElement.serialize(baos); wsdlInputStream = new ByteArrayInputStream(baos.toByteArray()); if (trace()) trace.info("WSDL Namespace is : "
if (trace()) { trace.info("Loading the WSDL : " + (publishWSDLEndpoint != null ? " endpoint = " + publishWSDLEndpoint : toString().toLowerCase()); } else { if (trace()) { trace.info("WSDL was unable to load for: " + publishWSDL); trace.info("Please add <syn:parameter name=\"enableURISafeMode\">true" + if (trace()) { trace.info("WSDL was unable to load for: " + publishWSDL); trace.info("enableURISafeMode: true"); return null; } else { if (trace()) { trace.info("WSDL was unable to load for: " + publishWSDL); trace.info("enableURISafeMode: false"); toString().toLowerCase()); } else { if (trace()) { trace.info("WSDL was unable to load for: " + publishWSDL); trace.info("Please add <syn:parameter name=\"enableURISafeMode\">true" + if (trace()) { trace.info("WSDL was unable to load for: " + publishWSDL); trace.info("enableURISafeMode: true");