You could send the log messages out through a Socket and have a ServerSocket listen to both servers and consolidate the messages.
James Stauffer -----Original Message----- From: siva kumar [mailto:[EMAIL PROTECTED] Sent: Thursday, May 20, 2004 1:39 PM To: [EMAIL PROTECTED] Subject: logging from multiple instances on same file? Hi i have welogic server created multiple instances under one domain. i want to have a centralized logging like messages from all the instances should be logged in one log file with hostname and instance name. how can achieve this? the following entries in config file will work or is there any better way? log4j.appender.NormalFileAppender.layout.ConversionPattern= localhost:server1 %5p %d{MMM dd yyyy HH:mm} (%F:%M():%L) - %m%n or log4j.appender.R.layout.ConversionPattern=[slf5s.start]%d{DATE}[slf5s.DATE]% n {{{ %p[slf5s.PRIORITY]%n%x[slf5s.NDC]%n%t[slf5s.THREAD]%n %c[slf5s.CATEGORY]%n%l[slf5s.LOCATION]%n%m[slf5s.MESSAGE]%n%n plz advise thanks siva __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com