You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Ruwan Linton (JIRA)" <ji...@apache.org> on 2010/01/29 09:25:37 UTC

[jira] Assigned: (SYNAPSE-606) Add ability in log mediator to accept category for logged messages.

     [ https://issues.apache.org/jira/browse/SYNAPSE-606?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ruwan Linton reassigned SYNAPSE-606:
------------------------------------

    Assignee: Ruwan Linton

> Add ability in log mediator to accept category for logged messages.
> -------------------------------------------------------------------
>
>                 Key: SYNAPSE-606
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-606
>             Project: Synapse
>          Issue Type: Improvement
>            Reporter: Ruwan Linton
>            Assignee: Ruwan Linton
>
> There is a requirement from one of the WSO2 ESB users to specify the log category in the log mediator as follows; 
> Currently when messages are logged they show up as INFO messages, add attribute in log mediator to accept log message category so that they can be logged as WARN or ERROR messages as specified in synapse.xml
> Suggested change to log mediator category="ERROR" as shown below
>       <syn:log level="custom" category="ERROR">
>         <syn:property name="text" value="An unexpected error occured"/>
>         <syn:property name="message" expression="get-property('ERROR_MESSAGE')"/>
>       </syn:log>
> this should log a log4j ERROR message in wso2-esb.log 
> It seems to be a nice improvement in general.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org