Hi All, I am Shafreen and I've been working with Synapse for many years. With this mail I am sending a fix [1] to solve one of the issues I've been facing.
At the moment, even though log-mediator has a category called DEBUG, there is no way to enable this category. Therefore, no logs are printed under this category. The only workaround we have for this problem is to enable debug logs for log-mediator class itself by configuring log4j.properties file. But I believe, this configuration is for people who implement log-mediator but not for synapse users. IMO, synapse users should be able to enable debug mode of the log-mediator without touching the log4j.properties file. As a solution, I have done a fix [1] in which synapse users can start the server as follows, sh synapse.sh -synapseDebug When the server is started with the above flag, all the logs of log-mediator under the category DEBUG is printed. For more information, please have a look at [1] and [2]. Also, please note that the provided fix is tested in both linux and windows. [1] https://github.com/apache/synapse/pull/24 [2] https://issues.apache.org/jira/browse/SYNAPSE-1116