Mohamad Anfar Mohamad Shafreen created SYNAPSE-1116: -------------------------------------------------------
Summary: Log mediator doesn't work as expected when category set to DEBUG Key: SYNAPSE-1116 URL: https://issues.apache.org/jira/browse/SYNAPSE-1116 Project: Synapse Issue Type: Improvement Affects Versions: 3.0.1 Reporter: Mohamad Anfar Mohamad Shafreen Assignee: Isuru Udana Consider the below Proxy service in which I have configured the log-mediator to print logs only when the category is set to DEBUG. However, there is no way to start the server with log-mediator debug logs enabled. Only way to print the property values inside the log mediator is by configuring debug mode for the class in the log4j.properties. But this is wrong because aforementioned configuration is there for the implementer of log-mediator but not for the synapse user. {code:java} <proxy xmlns="http://ws.apache.org/ns/synapse" name="test" transports="http,https" statistics="disable" trace="disable" startOnLoad="true"> <target> <inSequence> <log category="DEBUG"> <property name="someproperty" value="somevalue"/> </log> <respond/> </inSequence> </target> <description/> </proxy> {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@synapse.apache.org For additional commands, e-mail: dev-h...@synapse.apache.org