Thanks a lot!! That's work perfectly!
Sihem
Upul Godage <[EMAIL PROTECTED]> a écrit : Hi,
Add the entries like the following to log4j.properties file in
lib/log4j.properties for each proxy.
ProxyName = Proxy name
The related appender, SERVICE_APPENDER_PROXY_NAME, describes the where to
log and how to log. You do not have to enter all these lines for each proxy.
Important thing is that "the proxy logs to SERVICE_LOGGER.ProxyName." So you
can customize each .ProxyName logs.
# Configure the service logger at INFO level. Writes only
run-time/mediation-time audit messages
log4j.category.SERVICE_LOGGER.ProxyName=DEBUG, SERVICE_APPENDER_PROXY_NAME
log4j.additivity.SERVICE_LOGGER.ProxyName=false
log4j.appender.SERVICE_APPENDER_PROXY_NAME=org.apache.log4j.RollingFileAppender
log4j.appender.SERVICE_APPENDER_PROXY_NAME.File=logs/proxyname.log
log4j.appender.SERVICE_APPENDER_PROXY_NAME.MaxFileSize=1000KB
log4j.appender.SERVICE_APPENDER_PROXY_NAME.MaxBackupIndex=10
log4j.appender.SERVICE_APPENDER_PROXY_NAME.layout=org.apache.log4j.PatternLayout
log4j.appender.SERVICE_APPENDER_PROXY_NAME.layout.ConversionPattern=%d{ISO8601}[%X{ip}-%X{host}]
[%t] %5p %c{1} %m%n
You can use the new mailing list address [email protected] now.
Upul
On Mon, Mar 3, 2008 at 2:15 PM, Sihem wrote:
> Hello,
> I configured several proxies on synapse and I would like to create a log
> file for each of these proxies and not log everything in the same file. I
> found a mail in the newsgroup about this:
> Configuration for producing unique log per proxied service?
>
> But the same problem still remains because in the version 1.1.1, there is
> not a solution for this ?
> Am I right ?
> Thanks!
> sihem
>
>
> ---------------------------------
> Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo!
> Mail
>
---------------------------------
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail