Encryption of log

2006-06-14 Thread Jan-Olof Sivtoft
Hi The project Im working with want to encrypt the log file. It also want to use RollingFileAppender. My intention was to extend RollingFileAppender and change the creation of FileOutputStream to ChiperOutputStream and override setFile in FileAppender to do the same and so on, but

Re: Encryption of log

2006-06-14 Thread Xavier Outhier
Jan-Olof Sivtoft wrote: Hi The project Im working with want to encrypt the log file. It also want to use RollingFileAppender. My intention was to extend RollingFileAppender and change the creation of FileOutputStream to ChiperOutputStream and override setFile in FileAppender to do the same and

Re: setting up log4j

2006-06-14 Thread Sarada Bhasker
I remember having this problem, the log actually gets generated some where in your OS folder like C:\WinNT\System32 if you don't mention the absolute file name. Try changing the filename with the full path and see whether it works - Original Message - From: Jacob Kjome [EMAIL PROTECTED]

RE: setting up log4j

2006-06-14 Thread Darren Hall
I have confirmed that my log files are not being created anywhere on my test server (I did a windows search of the C: drive with no results). As was stated here, there are probably two reasons this could be happening: 1) Log4j is not creating the log directory, thus it can't create the log file;

RE: setting up log4j

2006-06-14 Thread Darren Hall
I've tried removing the log/ portion of the log file path so that I could see where the log files were being created, and eliminate option 1) below. When I redeployed the application, and try to generate log files, no log files were created. So, I must be screwing something up in the

Re: Encryption of log

2006-06-14 Thread Curt Arnold
On Jun 14, 2006, at 2:33 AM, Jan-Olof Sivtoft wrote: Hi The project Im working with want to encrypt the log file. It also want to use RollingFileAppender. My intention was to extend RollingFileAppender and change the creation of FileOutputStream to ChiperOutputStream and override setFile in

Sandro Ruch/namics/com is out of the office.

2006-06-14 Thread Sandro Ruch
I will be out of the office starting 14.06.2006 and will not return until 19.06.2006. I will respond to your message when I return. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

poblem with multiple application configurations

2006-06-14 Thread meissa . sakho
Hi all, I have several applications and I have trouve while trying to have a log file per application. For each application I define a log4j.xml file in it's classpath. But instead of having separate log files, all log instructions are written in the same log file. Can someone tells me what to

Re: Encryption of log

2006-06-14 Thread xhu1
what is ChiperOutputStream? I have the same requirement but not sure what is the option to do it yet. Thanks --- Jan-Olof Sivtoft [EMAIL PROTECTED] wrote: Hi The project Im working with want to encrypt the log file. It also want to use RollingFileAppender. My intention was to extend

Unable to log from a jar library (oc4j)

2006-06-14 Thread GDS
Hi all, I'm facing the following strange (at least for me:) problem: I have developed a very simple library (let's say a.jar) using log4j as logging tool. When I use this library a.jar within a web application (so /WEB-INF/lib/a.jar) a get no message from the classes in a.jar. If I unzip the

Problem with RollingFileAppender

2006-06-14 Thread Shriraghavan, Sowmya
Hi all, I'm having an issue with the RollingFileAppender. I've set the rollover size to 25MB, but sometimes, on rollover it renames the file to logfile.log.1, but does not create logfile.log again - it continues writing to logfile.log.1. I end up with missing log files because of this. Is this a

Re: poblem with multiple application configurations

2006-06-14 Thread James Stauffer
Please specify where your log4j.xml and log4j.jar files are. You probably want log4j.jar and log4j.xml in WEB-INF/lib and nowhere else. On 6/14/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi all, I have several applications and I have trouve while trying to have a log file per application.

RE: setting up log4j

2006-06-14 Thread Darren Hall
Ok, for those following this thread, I've trashed my old log4j.xml. I went ahead and created a new (and much simpler) log4j.xml file. Using this new file, I now see the following log file created 'C:\Program Files\Apache Group\Tomcat 5.5\logs\uwaf-debug.log'. So... progress! However, the log file

RE: setting up log4j

2006-06-14 Thread Jacob Kjome
Try defining the root logger instead of, or in addition to, your logger definition below. I imagine you'll see output from Struts classes in the root logger if you define it to log at the DEBUG level. Jake Quoting Darren Hall [EMAIL PROTECTED]: Ok, for those following this thread, I've

RE: setting up log4j

2006-06-14 Thread Darren Hall
Excellent! Thanks Jake. That did it. I changed the logger to a root and everything worked great. Thanks! -Original Message- From: Jacob Kjome [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 14, 2006 4:50 PM To: Log4J Users List Subject: RE: setting up log4j Try defining the root

Dynamic log names

2006-06-14 Thread Darren Hall
Question for everyone, I'm generating two log files, an event log and an error log using Log4j 1.2.13 and Struts 1.2.9 on Tomcat 5.5 on a Windows Pro dev box. Currently I'm using the FileAppender class to generate the logs. What I'd like to do is generate daily logs with a filename along

auditing and log4j

2006-06-14 Thread Pat Felsted
I am investigating auditing in applications and it appears that many applications use log4j for its auditing api. Is log4j a good approach for instrumenting application to log auditing events? Is this one of the best ways to do it? What are most of you doing to audit your events? Thanks. Pat

Re: Dynamic log names

2006-06-14 Thread James Stauffer
DailyRollingAppender will do something close to that. Give it a try. One difference is that the file will end with the date (not .log) and the current file doesn't have the date in the name. On 6/14/06, Darren Hall [EMAIL PROTECTED] wrote: Question for everyone, I'm generating two log