[Dev] Writing wire logs to a separate file other than the wso2carbon.log

2015-06-10 Thread Uvindra Dias Jayasinha
I've defined a custom appender in the log4j.properties of ESB 4.8.1 as follows. # WIRE_LOGFILE is set to be a DailyRollingFileAppender using a PatternLayout. log4j.appender.WIRE_LOGFILE=org.wso2.custom.logging.appenders.WireDailyRollingFileAppender # Log file will be overridden by the configurati

Re: [Dev] Writing wire logs to a separate file other than the wso2carbon.log

2015-06-10 Thread Uvindra Dias Jayasinha
Ok found the solution to this, You simply need to add the *additivity* property with the value false as follows, log4j.logger.org.apache.synapse.transport.http.wire=DEBUG, WIRE_LOGFILE log4j.*additivity*.org.apache.synapse.transport.http.wire=*false* This will prevent the log request from propa