synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Asankha C. Perera (JIRA)" <>
Subject [jira] Resolved: (SYNAPSE-123) Enhance log mediator to support unique log file per proxy/service
Date Thu, 11 Oct 2007 12:37:50 GMT


Asankha C. Perera resolved SYNAPSE-123.

       Resolution: Fixed
    Fix Version/s:     (was: 1.0)
         Assignee: Asankha C. Perera

This can now be achieved via

Currently all services log to the SERVICE_APPENDER (see below)

# Configure the service logger at INFO level. Writes only run-time/mediation-time audit messages
log4j.appender.SERVICE_APPENDER.layout.ConversionPattern=%d{ISO8601} [%X{ip}-%X{host}] [%t]
%5p %c{1} %m%n

However, if you want to have a logs/proxy1.log for your proxy service named "proxy1", create
a new appender (say PROXY1_APPENDER with the location of the log file etc) and assign it to
the category as below


> Enhance log mediator to support unique log file per proxy/service
> -----------------------------------------------------------------
>                 Key: SYNAPSE-123
>                 URL:
>             Project: Synapse
>          Issue Type: New Feature
>          Components: Core
>    Affects Versions: 1.0
>         Environment: WinXP
>            Reporter: John Bouck
>            Assignee: Asankha C. Perera
>            Priority: Minor
>             Fix For: 1.1
> The log mediator puts all logs into one file.  Enhance the log mediator to support unique
log per proxy/service so that each service may/may not have its own log file/location.  This
will ease the deployment of Synapse in a Gateway model of service proxy as logs need to be
often constrained per security restrictions (ie the service publisher may need to review the
synapse logs for their service, but should not have access to the logs of all of the other

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:
For additional commands, e-mail:

View raw message