Re: lifesigns

2006-08-17 Thread Takacs Bence
You mean I have to set up a daemon, which checks if a specific application from a specific remote host hasn't made a log in the last ten minutes? And I have to search the database or the xml log file for the specific logs? It's a little bit complicated, if you have about ten servers, and a ce

Re: Log4j permissions

2006-08-17 Thread Rakesh Patel
The problem has something to do with the app server and the java security settings. It seems to be log4j that triggers it. The error I was getting was about propertyfile permissions. I got it when i uncommented the SMTPAppender. Why that appender, i don't know. This is what I added to the ser

Re: different config files for different tomcat applications

2006-08-17 Thread Takacs Bence
Well, I've tried, but I have some "bugs"... I deployed two applications, both with their own log4j.jar, and properties file, and I put an other to ${catalina.home}/common/classes, and ${catalina.home}/common/lib. It seems to be working except the following "bugs": 1. INFO: Starting Servlet En

Re: different config files for different tomcat applications

2006-08-17 Thread James Stauffer
On 8/17/06, Takacs Bence <[EMAIL PROTECTED]> wrote: Well, I've tried, but I have some "bugs"... I deployed two applications, both with their own log4j.jar, and properties file, and I put an other to ${catalina.home}/common/classes, and ${catalina.home}/common/lib. It seems to be working except t

Re: lifesigns

2006-08-17 Thread James Stauffer
If you log everything to 1 database, then that would be easy. The solution you mention should also work. On 8/17/06, Takacs Bence <[EMAIL PROTECTED]> wrote: You mean I have to set up a daemon, which checks if a specific application from a specific remote host hasn't made a log in the last ten m

Re: lifesigns

2006-08-17 Thread Borut Hadžialić
Did you try using Monit http://www.tildeslash.com/monit/ ? -- Why? Because YES! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: different config files for different tomcat applications

2006-08-17 Thread Takacs Bence
Well, if I was not clear enough: My goal was: to catch the logs from the environment (tomcat and hivemind) and from applications too. My problem was: I didn't know where to put log4j.jar and log4j.properties... I tried many combinations: commons -- logs only tomcat inner logs shared -- logs fo

RE: lifesigns

2006-08-17 Thread Harp, George
Jgroups is also easy set up to monitor live nodes -Original Message- From: Borut Hadžialić [mailto:[EMAIL PROTECTED] Sent: Thursday, August 17, 2006 8:28 AM To: Log4J Users List Subject: Re: lifesigns Did you try using Monit http://www.tildeslash.com/monit/ ? -- Why? Because YES!

Re: different config files for different tomcat applications

2006-08-17 Thread Jacob Kjome
To clarify for James, it is absolutely ok for log4j.jar to be in *both* common/lib and each app's WEB-INF/lib... at least in the case of Tomcat where it implements child-first classloading behavior. Child-first classloading makes it so that WEB-INF/lib/log4j.jar gets loaded in preference to any l

log file should be overwritten

2006-08-17 Thread Rajasekhar Dara
  Hi Log4J Users, I have a query in my application. I need to overwrite the log file instead of appending the log file. We shouldn't hand on the end of the line in log file. When application started, fresh log file should generate. Past logs shouldn't be a concern. Please help me out how to cha

Log files unlocking

2006-08-17 Thread Dmitry Kan
Hi there! I've got a small problem with unlocking log files after all logging's done. I've configured the Log object for my class using PropertyConfigurator so that all loggings go directly to a certain log file. The issue is that it turns out to be rather tricky task to unlock that file (I need