log4j:ERROR Failed to rename [../logs/performance.log] to [../logs/performance.log.2004-05-04].
Hi All We are losing production logging data I have discovered due to Log4J not being able to rename logs. I have not the slightest idea why this would start happening last week, we have successfully been running log4j for a month with the rolled files being created. log4j:ERROR Failed to rename [../logs/performance.log] to [../logs/performance.log.2004-05-04]. log4j:ERROR Failed to rename [../logs/application.log] to [../logs/application.log.2004-05-04]. log4j:ERROR Failed to rename [../logs/authentication.log] to [../logs/authentication.log.2004-05-04]. You help appreciated, and rather urgent if it makes a different :) Cheers!! ADC. FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE --- QAS Ltd. Developers of QuickAddress Software a href=http://www.qas.com;www.qas.com/a Registered in England: No 2582055 Registered in Australia: No 082 851 474 --- /FONT - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: log4j:ERROR Failed to rename [../logs/performance.log] to [../logs/performance.log.2004-05-04].
There is probably another process holding on to ../logs/performance.log. You are running on Windows I suppose. At 04:45 PM 5/20/2004, Allistair Crossley wrote: Hi All We are losing production logging data I have discovered due to Log4J not being able to rename logs. I have not the slightest idea why this would start happening last week, we have successfully been running log4j for a month with the rolled files being created. log4j:ERROR Failed to rename [../logs/performance.log] to [../logs/performance.log.2004-05-04]. log4j:ERROR Failed to rename [../logs/application.log] to [../logs/application.log.2004-05-04]. log4j:ERROR Failed to rename [../logs/authentication.log] to [../logs/authentication.log.2004-05-04]. You help appreciated, and rather urgent if it makes a different :) Cheers!! ADC. -- Ceki Gülcü For log4j documentation consider The complete log4j manual ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: log4j:ERROR Failed to rename [../logs/performance.log] to [../logs/performance.log.2004-05-04].
Hello, Yes we are Windows 2000 (not my fault ;), I would rather Linux) however be impressed that I have convinced the internet ASP team to switch to J2EE. I don't suppose you know of how to look for what process could be holding the files? This is nice and easy in UNIX of course ;) I have tried restarts of Tomcat but the locks are not released, nor can I even think why locks would be on these files .. it happens on all 9 logs. Thanks! ADC -Original Message- From: Ceki Gülcü [mailto:[EMAIL PROTECTED] Sent: 20 May 2004 16:13 To: Log4J Users List Subject: Re: log4j:ERROR Failed to rename [../logs/performance.log] to [../logs/performance.log.2004-05-04]. There is probably another process holding on to ../logs/performance.log. You are running on Windows I suppose. At 04:45 PM 5/20/2004, Allistair Crossley wrote: Hi All We are losing production logging data I have discovered due to Log4J not being able to rename logs. I have not the slightest idea why this would start happening last week, we have successfully been running log4j for a month with the rolled files being created. log4j:ERROR Failed to rename [../logs/performance.log] to [../logs/performance.log.2004-05-04]. log4j:ERROR Failed to rename [../logs/application.log] to [../logs/application.log.2004-05-04]. log4j:ERROR Failed to rename [../logs/authentication.log] to [../logs/authentication.log.2004-05-04]. You help appreciated, and rather urgent if it makes a different :) Cheers!! ADC. -- Ceki Gülcü For log4j documentation consider The complete log4j manual ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE --- QAS Ltd. Developers of QuickAddress Software a href=http://www.qas.com;www.qas.com/a Registered in England: No 2582055 Registered in Australia: No 082 851 474 --- /FONT - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: log4j:ERROR Failed to rename [../logs/performance.log] to [../logs/performance.log.2004-05-04].
At 05:22 PM 5/20/2004, you wrote: Hello, Yes we are Windows 2000 (not my fault ;), I would rather Linux) however be impressed that I have convinced the internet ASP team to switch to J2EE. I don't suppose you know of how to look for what process could be holding the files? This is nice and easy in UNIX of course ;) I have tried restarts of Tomcat but the locks are not released, nor can I even think why locks would be on these files .. it happens on all 9 logs. Have you recycled or redeployed the web application in question? If you did, you have to make sure that it calls the LogManager.shutdown() method. Thanks! ADC -- Ceki Gülcü For log4j documentation consider The complete log4j manual ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: log4j:ERROR Failed to rename [../logs/performance.log] to [../logs/performance.log.2004-05-04].
The last time I did a build it involved completely shutting down Tomcat, deleting the webapp and reinstalling the webapp and restarting TC again. That would have killed all locks no? -Original Message- From: Ceki Gülcü [mailto:[EMAIL PROTECTED] Sent: 20 May 2004 16:31 To: Log4J Users List Subject: RE: log4j:ERROR Failed to rename [../logs/performance.log] to [../logs/performance.log.2004-05-04]. At 05:22 PM 5/20/2004, you wrote: Hello, Yes we are Windows 2000 (not my fault ;), I would rather Linux) however be impressed that I have convinced the internet ASP team to switch to J2EE. I don't suppose you know of how to look for what process could be holding the files? This is nice and easy in UNIX of course ;) I have tried restarts of Tomcat but the locks are not released, nor can I even think why locks would be on these files .. it happens on all 9 logs. Have you recycled or redeployed the web application in question? If you did, you have to make sure that it calls the LogManager.shutdown() method. Thanks! ADC -- Ceki Gülcü For log4j documentation consider The complete log4j manual ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE --- QAS Ltd. Developers of QuickAddress Software a href=http://www.qas.com;www.qas.com/a Registered in England: No 2582055 Registered in Australia: No 082 851 474 --- /FONT - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: log4j:ERROR Failed to rename [../logs/performance.log] to [../logs/performance.log.2004-05-04].
Is that list generated when Tomcat is stopped? Another thing to try is restarting the machine -- That would release the lock no matter what program has it. James Stauffer -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: Thursday, May 20, 2004 10:47 AM To: Log4J Users List Subject: RE: log4j:ERROR Failed to rename [../logs/performance.log] to [../logs/performance.log.2004-05-04]. Brilliant. However, for this particular issue it does nothing but tell me the Java process owns it which I suspected ;) It would appear that log files appear more than once for the 1 java process though which could be the problem. :( java.exe pid: 1612 NT AUTHORITY\SYSTEM 8ac: File D:\jakarta-tomcat-5.0.19\logs\publishing.log 8c8: File D:\jakarta-tomcat-5.0.19\logs\admin.log 8cc: File D:\jakarta-tomcat-5.0.19\logs\email.log 8d0: File D:\jakarta-tomcat-5.0.19\logs\holidayform.log 8d4: File D:\jakarta-tomcat-5.0.19\logs\performance.log 8d8: File D:\jakarta-tomcat-5.0.19\logs\content-access.log 8dc: File D:\jakarta-tomcat-5.0.19\logs\rar.log 8e0: File D:\jakarta-tomcat-5.0.19\logs\application.log 8e4: File D:\jakarta-tomcat-5.0.19\logs\authentication.log 8e8: File D:\jakarta-tomcat-5.0.19\logs\search.log 8ec: File D:\jakarta-tomcat-5.0.19\logs\search-access.log 8f0: File D:\jakarta-tomcat-5.0.19\logs\action.log 968: File D:\jakarta-tomcat-5.0.19\logs\publishing.log 96c: File D:\jakarta-tomcat-5.0.19\logs\admin.log 970: File D:\jakarta-tomcat-5.0.19\logs\email.log 974: File D:\jakarta-tomcat-5.0.19\logs\holidayform.log 978: File D:\jakarta-tomcat-5.0.19\logs\performance.log 97c: File D:\jakarta-tomcat-5.0.19\logs\content-access.log 980: File D:\jakarta-tomcat-5.0.19\logs\rar.log 984: File D:\jakarta-tomcat-5.0.19\logs\application.log 988: File D:\jakarta-tomcat-5.0.19\logs\authentication.log 98c: File D:\jakarta-tomcat-5.0.19\logs\search.log 990: File D:\jakarta-tomcat-5.0.19\logs\search-access.log 994: File D:\jakarta-tomcat-5.0.19\logs\action.log e48: File D:\jakarta-tomcat-5.0.19\logs\localhost_log.2004-05-20.txt ea8: File D:\jakarta-tomcat-5.0.19\webapps\iq\WEB-INF\lib\mail.jar ed8: File D:\jakarta-tomcat-5.0.19\logs\authentication.log 1024: File D:\jakarta-tomcat-5.0.19\logs\email.log 1034: File D:\jakarta-tomcat-5.0.19\logs\application.log 103c: File D:\jakarta-tomcat-5.0.19\logs\search.log 1050: File D:\jakarta-tomcat-5.0.19\logs\holidayform.log 105c: File D:\jakarta-tomcat-5.0.19\logs\action.log 1060: File D:\jakarta-tomcat-5.0.19\logs\performance.log 106c: File D:\jakarta-tomcat-5.0.19\logs\publishing.log 1074: File D:\jakarta-tomcat-5.0.19\logs\content-access.log 1088: File D:\jakarta-tomcat-5.0.19\logs\search-access.log 108c: File D:\jakarta-tomcat-5.0.19\logs\admin.log 1090: File D:\jakarta-tomcat-5.0.19\logs\rar.log -Original Message- From: Ferenc Toth [mailto:[EMAIL PROTECTED] Sent: 20 May 2004 16:27 To: Log4J Users List Subject: RE: log4j:ERROR Failed to rename [../logs/performance.log] to [../logs/performance.log.2004-05-04]. From: Allistair Crossley [mailto:[EMAIL PROTECTED] Hello, Yes we are Windows 2000 (not my fault ;), I would rather Linux) however be impressed that I have convinced the internet ASP team to switch to J2EE. I don't suppose you know of how to look for what process could be holding the files? This is nice and easy in UNIX of course ;) I have tried restarts of Tomcat but the locks are not released, nor can I even think why locks would be on these files .. it happens on all 9 logs. http://www.sysinternals.com/ntw2k/freeware/handle.shtml - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE --- QAS Ltd. Developers of QuickAddress Software a href=http://www.qas.com;www.qas.com/a Registered in England: No 2582055 Registered in Australia: No 082 851 474 --- /FONT - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: log4j:ERROR Failed to rename [../logs/performance.log] to [../logs/performance.log.2004-05-04].
Have you permissions over the directory / files ??? Who is the owner ??? ? ? ? Hi All ? ? We are losing production logging data I have discovered due ? to Log4J not being able to rename logs. I have not the ? slightest idea why this would start happening last week, we ? have successfully been running log4j for a month with the ? rolled files being created. ? ? log4j:ERROR Failed to rename [../logs/performance.log] to ? [../logs/performance.log.2004-05-04]. ? log4j:ERROR Failed to rename [../logs/application.log] to ? [../logs/application.log.2004-05-04]. ? log4j:ERROR Failed to rename [../logs/authentication.log] ? to [../logs/authentication.log.2004-05-04]. ? ? You help appreciated, and rather urgent if it makes a different :) ? ? Cheers!! ADC. ? ? ? FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE ? --- ? QAS Ltd. ? Developers of QuickAddress Software ? a href=http://www.qas.com;www.qas.com/a ? Registered in England: No 2582055 ? Registered in Australia: No 082 851 474 ? --- ? /FONT ? ? ? ? - ? To unsubscribe, e-mail: [EMAIL PROTECTED] ? For additional commands, e-mail: [EMAIL PROTECTED] ? ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: log4j:ERROR Failed to rename [../logs/performance.log] to [../logs/performance.log.2004-05-04].
When your web-application is recycled or shutdown make sure to call the o.a.log4j.LogManager.shutdown method. At 05:46 PM 5/20/2004, you wrote: Brilliant. However, for this particular issue it does nothing but tell me the Java process owns it which I suspected ;) It would appear that log files appear more than once for the 1 java process though which could be the problem. :( java.exe pid: 1612 NT AUTHORITY\SYSTEM 8ac: File D:\jakarta-tomcat-5.0.19\logs\publishing.log 8c8: File D:\jakarta-tomcat-5.0.19\logs\admin.log 8cc: File D:\jakarta-tomcat-5.0.19\logs\email.log 8d0: File D:\jakarta-tomcat-5.0.19\logs\holidayform.log 8d4: File D:\jakarta-tomcat-5.0.19\logs\performance.log 8d8: File D:\jakarta-tomcat-5.0.19\logs\content-access.log 8dc: File D:\jakarta-tomcat-5.0.19\logs\rar.log 8e0: File D:\jakarta-tomcat-5.0.19\logs\application.log 8e4: File D:\jakarta-tomcat-5.0.19\logs\authentication.log 8e8: File D:\jakarta-tomcat-5.0.19\logs\search.log 8ec: File D:\jakarta-tomcat-5.0.19\logs\search-access.log 8f0: File D:\jakarta-tomcat-5.0.19\logs\action.log 968: File D:\jakarta-tomcat-5.0.19\logs\publishing.log 96c: File D:\jakarta-tomcat-5.0.19\logs\admin.log 970: File D:\jakarta-tomcat-5.0.19\logs\email.log 974: File D:\jakarta-tomcat-5.0.19\logs\holidayform.log 978: File D:\jakarta-tomcat-5.0.19\logs\performance.log 97c: File D:\jakarta-tomcat-5.0.19\logs\content-access.log 980: File D:\jakarta-tomcat-5.0.19\logs\rar.log 984: File D:\jakarta-tomcat-5.0.19\logs\application.log 988: File D:\jakarta-tomcat-5.0.19\logs\authentication.log 98c: File D:\jakarta-tomcat-5.0.19\logs\search.log 990: File D:\jakarta-tomcat-5.0.19\logs\search-access.log 994: File D:\jakarta-tomcat-5.0.19\logs\action.log e48: File D:\jakarta-tomcat-5.0.19\logs\localhost_log.2004-05-20.txt ea8: File D:\jakarta-tomcat-5.0.19\webapps\iq\WEB-INF\lib\mail.jar ed8: File D:\jakarta-tomcat-5.0.19\logs\authentication.log 1024: File D:\jakarta-tomcat-5.0.19\logs\email.log 1034: File D:\jakarta-tomcat-5.0.19\logs\application.log 103c: File D:\jakarta-tomcat-5.0.19\logs\search.log 1050: File D:\jakarta-tomcat-5.0.19\logs\holidayform.log 105c: File D:\jakarta-tomcat-5.0.19\logs\action.log 1060: File D:\jakarta-tomcat-5.0.19\logs\performance.log 106c: File D:\jakarta-tomcat-5.0.19\logs\publishing.log 1074: File D:\jakarta-tomcat-5.0.19\logs\content-access.log 1088: File D:\jakarta-tomcat-5.0.19\logs\search-access.log 108c: File D:\jakarta-tomcat-5.0.19\logs\admin.log 1090: File D:\jakarta-tomcat-5.0.19\logs\rar.log -Original Message- From: Ferenc Toth [mailto:[EMAIL PROTECTED] Sent: 20 May 2004 16:27 To: Log4J Users List Subject: RE: log4j:ERROR Failed to rename [../logs/performance.log] to [../logs/performance.log.2004-05-04]. From: Allistair Crossley [mailto:[EMAIL PROTECTED] Hello, Yes we are Windows 2000 (not my fault ;), I would rather Linux) however be impressed that I have convinced the internet ASP team to switch to J2EE. I don't suppose you know of how to look for what process could be holding the files? This is nice and easy in UNIX of course ;) I have tried restarts of Tomcat but the locks are not released, nor can I even think why locks would be on these files .. it happens on all 9 logs. http://www.sysinternals.com/ntw2k/freeware/handle.shtml - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE --- QAS Ltd. Developers of QuickAddress Software a href=http://www.qas.com;www.qas.com/a Registered in England: No 2582055 Registered in Australia: No 082 851 474 --- /FONT - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Ceki Gülcü For log4j documentation consider The complete log4j manual ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: log4j:ERROR Failed to rename [../logs/performance.log] to [../logs/performance.log.2004-05-04].
The role Everyone has all access. -Original Message- From: Contreras García Juan Manuel [mailto:[EMAIL PROTECTED] Sent: 20 May 2004 17:08 To: Log4J Users List Subject: RE: log4j:ERROR Failed to rename [../logs/performance.log] to [../logs/performance.log.2004-05-04]. Have you permissions over the directory / files ??? Who is the owner ??? ? ? ? Hi All ? ? We are losing production logging data I have discovered due ? to Log4J not being able to rename logs. I have not the ? slightest idea why this would start happening last week, we ? have successfully been running log4j for a month with the ? rolled files being created. ? ? log4j:ERROR Failed to rename [../logs/performance.log] to ? [../logs/performance.log.2004-05-04]. ? log4j:ERROR Failed to rename [../logs/application.log] to ? [../logs/application.log.2004-05-04]. ? log4j:ERROR Failed to rename [../logs/authentication.log] ? to [../logs/authentication.log.2004-05-04]. ? ? You help appreciated, and rather urgent if it makes a different :) ? ? Cheers!! ADC. ? ? ? FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE ? --- ? QAS Ltd. ? Developers of QuickAddress Software ? a href=http://www.qas.com;www.qas.com/a ? Registered in England: No 2582055 ? Registered in Australia: No 082 851 474 ? --- ? /FONT ? ? ? ? - ? To unsubscribe, e-mail: [EMAIL PROTECTED] ? For additional commands, e-mail: [EMAIL PROTECTED] ? ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: log4j:ERROR Failed to rename [../logs/performance.log] to [../logs/performance.log.2004-05-04].
Please remove me from all of these IS-related emails. Thank You! Let me know if I can be of any more Service to You, John Allen Air Import Agent Expeditors International - SFO Email: [EMAIL PROTECTED] Ph: (650) 737-1712 Fax: (650) 737-0933 Allistair CrossleyTo: Log4J Users List Allistair.Crossl [EMAIL PROTECTED] [EMAIL PROTECTED] cc: (bcc: John Allen/SFO/Expeditors) Subject: RE: log4j:ERROR Failed to rename 05/20/04 09:26 AM [../logs/performance.log] to Please respond to [../logs/performance.log.2004-05-04]. Log4J Users List The role Everyone has all access. -Original Message- From: Contreras García Juan Manuel [mailto:[EMAIL PROTECTED] Sent: 20 May 2004 17:08 To: Log4J Users List Subject: RE: log4j:ERROR Failed to rename [../logs/performance.log] to [../logs/performance.log.2004-05-04]. Have you permissions over the directory / files ??? Who is the owner ??? ? ? ? Hi All ? ? We are losing production logging data I have discovered due ? to Log4J not being able to rename logs. I have not the ? slightest idea why this would start happening last week, we ? have successfully been running log4j for a month with the ? rolled files being created. ? ? log4j:ERROR Failed to rename [../logs/performance.log] to ? [../logs/performance.log.2004-05-04]. ? log4j:ERROR Failed to rename [../logs/application.log] to ? [../logs/application.log.2004-05-04]. ? log4j:ERROR Failed to rename [../logs/authentication.log] ? to [../logs/authentication.log.2004-05-04]. ? ? You help appreciated, and rather urgent if it makes a different :) ? ? Cheers!! ADC. ? ? ? FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE ? --- ? QAS Ltd. ? Developers of QuickAddress Software ? a href=http://www.qas.com;www.qas.com/a ? Registered in England: No 2582055 ? Registered in Australia: No 082 851 474 ? --- ? /FONT ? ? ? ? - ? To unsubscribe, e-mail: [EMAIL PROTECTED] ? For additional commands, e-mail: [EMAIL PROTECTED] ? ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
help? not able to unsubscribe
Note: forwarded message attached. __ Do you Yahoo!? Yahoo! Domains Claim yours for only $14.70/year http://smallbusiness.promotions.yahoo.com/offer ---BeginMessage--- Hi. This is the qmail-send program at apache.org. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out. [EMAIL PROTECTED]: Sorry, no mailbox here by that name. (#5.1.1) --- Below this line is a copy of the message. Return-Path: [EMAIL PROTECTED] Received: (qmail 51607 invoked by uid 98); 20 May 2004 17:48:40 - Received: from [EMAIL PROTECTED] by hermes.apache.org by uid 82 with qmail-scanner-1.20 (clamuko: 0.70. Clear:RC:0(217.12.10.44):. Processed in 0.045228 secs); 20 May 2004 17:48:40 - X-Qmail-Scanner-Mail-From: [EMAIL PROTECTED] via hermes.apache.org X-Qmail-Scanner: 1.20 (Clear:RC:0(217.12.10.44):. Processed in 0.045228 secs) Received: from unknown (HELO web25008.mail.ukl.yahoo.com) (217.12.10.44) by hermes.apache.org with SMTP; 20 May 2004 17:48:39 - Message-ID: [EMAIL PROTECTED] Received: from [199.82.243.74] by web25008.mail.ukl.yahoo.com via HTTP; Thu, 20 May 2004 10:48:15 PDT Date: Thu, 20 May 2004 10:48:15 -0700 (PDT) From: Clarke Combs [EMAIL PROTECTED] To: [EMAIL PROTECTED] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: hermes.apache.org 1.6.2 0/1000/N __ Do you Yahoo!? Yahoo! Domains Claim yours for only $14.70/year http://smallbusiness.promotions.yahoo.com/offer ---End Message--- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
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 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
Re: logging from multiple instances on same file?
Please remove me from your email list. Thank You Let me know if I can be of any more Service to You, John Allen Air Import Agent Expeditors International - SFO Email: [EMAIL PROTECTED] Ph: (650) 737-1712 Fax: (650) 737-0933 siva kumar [EMAIL PROTECTED]To: [EMAIL PROTECTED] oo.com cc: (bcc: John Allen/SFO/Expeditors) Subject: logging from multiple instances on same file? 05/20/04 11:38 AM Please respond to Log4J Users List 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 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 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: logging from multiple instances on same file?
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 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
FW: WELCOME to log4j-user@logging.apache.org
A few people have been asking about unsubscribing. The info that I received in my welcome message should do the trick for you. James Stauffer -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, April 12, 2004 1:26 PM To: [EMAIL PROTECTED] Subject: WELCOME to [EMAIL PROTECTED] Hi! This is the ezmlm program. I'm managing the [EMAIL PROTECTED] mailing list. I'm working for my owner, who can be reached at [EMAIL PROTECTED] Acknowledgment: I have added the address [EMAIL PROTECTED] to the log4j-user mailing list. Welcome to [EMAIL PROTECTED] Please save this message so that you know the address you are subscribed under, in case you later want to unsubscribe or change your subscription address. --- Administrative commands for the log4j-user list --- I can handle administrative requests automatically. Please do not send them to the list address! Instead, send your message to the correct command address: To subscribe to the list, send a message to: [EMAIL PROTECTED] To remove your address from the list, send a message to: [EMAIL PROTECTED] Send mail to the following for info and FAQ for this list: [EMAIL PROTECTED] [EMAIL PROTECTED] Similar addresses exist for the digest list: [EMAIL PROTECTED] [EMAIL PROTECTED] To get messages 123 through 145 (a maximum of 100 per request), mail: [EMAIL PROTECTED] To get an index with subject and author for messages 123-456 , mail: [EMAIL PROTECTED] They are always returned as sets of 100, max 2000 per request, so you'll actually get 100-499. To receive all messages with the same subject as message 12345, send an empty message to: [EMAIL PROTECTED] The messages do not really need to be empty, but I will ignore their content. Only the ADDRESS you send to is important. You can start a subscription for an alternate address, for example [EMAIL PROTECTED], just add a hyphen and your address (with '=' instead of '@') after the command word: [EMAIL PROTECTED] To stop subscription for this address, mail: [EMAIL PROTECTED] In both cases, I'll send a confirmation message to that address. When you receive it, simply reply to it to complete your subscription. If despite following these instructions, you do not get the desired results, please contact my owner at [EMAIL PROTECTED] Please be patient, my owner is a lot slower than I am ;-)
problem loading xml events to chainsaw
Hi, Been using chainsaw v2 for a couple of days - can't get enough of it, I've introduced the rest of the team to it and we're tidying up the logging in our application to get the most benefit possible, but I'm having a problem loading xml events from a file into chainsaw... When I try this file, for example (CTRL-O, find file in browse dialog, click OK): ?xml version=1.0 ? !DOCTYPE log4j:eventSet SYSTEM log4j.dtd log4j:eventSet xmlns:log4j=http://jakarta.apache.org/log4j/; debug=true log4j:event logger=org.apache.struts.util.RequestUtils timestamp=1085076287450 sequenceNumber=0 level=DEBUG thread=ExecuteThread: '9' for queue: 'weblogic.kernel.Default' log4j:message![CDATA[Get module name for path /AdhocEnquiry.do]]/log4j:message log4j:properties log4j:data name=log4j.remoteSourceInfo value=longmdappd17.uk.db.com:4500/ log4j:data name=log4jid value=1/ /log4j:properties /log4j:event /log4j:eventSet I get the following in the webstart console: piblicID: [null] systemId: [dummy://log4j.dtd] log4j:ERROR Parsing error on line 1 and column -1 log4j:ERROR XML declaration may only begin entities. org.xml.sax.SAXParseException: XML declaration may only begin entities. at org.apache.crimson.parser.Parser2.fatal(Unknown Source) at org.apache.crimson.parser.Parser2.fatal(Unknown Source) at org.apache.crimson.parser.Parser2.maybePI(Unknown Source) at org.apache.crimson.parser.Parser2.content(Unknown Source) at org.apache.crimson.parser.Parser2.maybeElement(Unknown Source) at org.apache.crimson.parser.Parser2.parseInternal(Unknown Source) at org.apache.crimson.parser.Parser2.parse(Unknown Source) at org.apache.crimson.parser.XMLReaderImpl.parse(Unknown Source) at org.apache.crimson.jaxp.DocumentBuilderImpl.parse(Unknown Source) at org.apache.log4j.xml.XMLDecoder.parse(Unknown Source) at org.apache.log4j.xml.XMLDecoder.decode(Unknown Source) at org.apache.log4j.chainsaw.FileLoadAction$2.run(Unknown Source) at java.lang.Thread.run(Unknown Source) java.lang.NullPointerException at org.apache.log4j.chainsaw.ChainsawAppenderHandler.appendBatch(Unknown Source) at org.apache.log4j.chainsaw.FileLoadAction$2.run(Unknown Source) at java.lang.Thread.run(Unknown Source) There are *definitely not* any blank lines/spaces/etc before the ?xml... Can anyone help? Although the SocketHubAppender is working really well for live monitoring, we need to be able to load an existing XMLLayout log file into chainsaw too. Thanks in advance, Stephen. -- This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: problem loading xml events to chainsaw
Been using chainsaw v2 for a couple of days - can't get enough of it, I've introduced the rest of the team to it and we're tidying up the logging in our application to get the most benefit possible, but I'm having a problem loading xml events from a file into chainsaw... That's always nice to hear.. Thanks! I think you need to get rid of these lines from the file, IIRC (it's been a while): ?xml version=1.0 ? !DOCTYPE log4j:eventSet SYSTEM log4j.dtd Chainsaw will automatically wrap them I think. Try it out anyway! :) BTW, 'soon' you will be able to browse directories for logging files to load, even from remote sources like ftp/sftp/http/ because of the wonders of Jakarta VFS (http://jakarta.apache.org/commons/sandbox/vfs/). I am hoping that VFS will event allow you to read these files even when they are in a compressed state (zip/tar etc). The VFSPlugin that I am working on is nowhere NEAR ready, but I'll let this list know when it's ready for the bleeding-edge users... cheers, Paul Smith - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: problem loading xml events to chainsaw
I second the praise for Chainsaw V2, nice job! On a related question - is it possible to create xml log files without the log4j: namespace prefix? Alternatively, what is the rationale for having an explicit namespace in the DTD? Asking to remove the DOCTYPE declaration, IMHO, should then not necessitate a log4j: namespace prefix. Naresh Sikha -Original Message- From: Paul Smith [mailto:[EMAIL PROTECTED] Sent: Thursday, May 20, 2004 4:59 PM To: 'Log4J Users List' Subject: RE: problem loading xml events to chainsaw Been using chainsaw v2 for a couple of days - can't get enough of it, I've introduced the rest of the team to it and we're tidying up the logging in our application to get the most benefit possible, but I'm having a problem loading xml events from a file into chainsaw... That's always nice to hear.. Thanks! I think you need to get rid of these lines from the file, IIRC (it's been a while): ?xml version=1.0 ? !DOCTYPE log4j:eventSet SYSTEM log4j.dtd Chainsaw will automatically wrap them I think. Try it out anyway! :) BTW, 'soon' you will be able to browse directories for logging files to load, even from remote sources like ftp/sftp/http/ because of the wonders of Jakarta VFS (http://jakarta.apache.org/commons/sandbox/vfs/). I am hoping that VFS will event allow you to read these files even when they are in a compressed state (zip/tar etc). The VFSPlugin that I am working on is nowhere NEAR ready, but I'll let this list know when it's ready for the bleeding-edge users... cheers, Paul Smith - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
(Thomas Kleiser/DS/GFK/DE ist außer Haus.)
Ich werde ab 21.05.2004 nicht im Büro sein. Ich kehre zurück am 24.05.2004. In eiligen Fällen wenden Sie sich bitte an Herrn Schindler oder Herrn Leissner. Ich werde Ihre Nachrichten nach meiner Rückkehr beantworten. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: problem loading xml events to chainsaw
XML Decoding of events is pretty fragile right now (needs rewritten, but it works). Two XML file formats are supported: 1: a file containing just log4j:event nodes (no xml declaration, doctype, or eventSet node), and 2: like your example, with an xml declaration, doc type, and eventSet node, with child event nodes (just added support for this) - if you provide an xml declaration, you must also provide the eventSet root node.. Scott -Original Message- From: Stephen Pain [mailto:[EMAIL PROTECTED] Sent: Thu 5/20/2004 4:51 PM To: [EMAIL PROTECTED] Cc: Subject:problem loading xml events to chainsaw Hi, Been using chainsaw v2 for a couple of days - can't get enough of it, I've introduced the rest of the team to it and we're tidying up the logging in our application to get the most benefit possible, but I'm having a problem loading xml events from a file into chainsaw... When I try this file, for example (CTRL-O, find file in browse dialog, click OK): ?xml version=1.0 ? !DOCTYPE log4j:eventSet SYSTEM log4j.dtd log4j:eventSet xmlns:log4j=http://jakarta.apache.org/log4j/; debug=true log4j:event logger=org.apache.struts.util.RequestUtils timestamp=1085076287450 sequenceNumber=0 level=DEBUG thread=ExecuteThread: '9' for queue: 'weblogic.kernel.Default' log4j:message![CDATA[Get module name for path /AdhocEnquiry.do]]/log4j:message log4j:properties log4j:data name=log4j.remoteSourceInfo value=longmdappd17.uk.db.com:4500/ log4j:data name=log4jid value=1/ /log4j:properties /log4j:event /log4j:eventSet I get the following in the webstart console: piblicID: [null] systemId: [dummy://log4j.dtd] log4j:ERROR Parsing error on line 1 and column -1 log4j:ERROR XML declaration may only begin entities. org.xml.sax.SAXParseException: XML declaration may only begin entities. at org.apache.crimson.parser.Parser2.fatal(Unknown Source) at org.apache.crimson.parser.Parser2.fatal(Unknown Source) at org.apache.crimson.parser.Parser2.maybePI(Unknown Source) at org.apache.crimson.parser.Parser2.content(Unknown Source) at org.apache.crimson.parser.Parser2.maybeElement(Unknown Source) at org.apache.crimson.parser.Parser2.parseInternal(Unknown Source) at org.apache.crimson.parser.Parser2.parse(Unknown Source) at org.apache.crimson.parser.XMLReaderImpl.parse(Unknown Source) at org.apache.crimson.jaxp.DocumentBuilderImpl.parse(Unknown Source) at org.apache.log4j.xml.XMLDecoder.parse(Unknown Source) at org.apache.log4j.xml.XMLDecoder.decode(Unknown Source) at org.apache.log4j.chainsaw.FileLoadAction$2.run(Unknown Source) at java.lang.Thread.run(Unknown Source) java.lang.NullPointerException at org.apache.log4j.chainsaw.ChainsawAppenderHandler.appendBatch(Unknown Source) at org.apache.log4j.chainsaw.FileLoadAction$2.run(Unknown Source) at java.lang.Thread.run(Unknown Source) There are *definitely not* any blank lines/spaces/etc before the ?xml... Can anyone help? Although the SocketHubAppender is working really well for live monitoring, we need to be able to load an existing XMLLayout log file into chainsaw too. Thanks in advance, Stephen. -- This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]