Hi everyone,
Could you please help me to resolve this issue?
Note: forwarded message attached.
With regards,
Venkatlakshmi
__
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.co
It seems most people write a cron job or scheduled task to delete the
unwanted logs.
On 6/28/06, Andrews, Trent - 43 <[EMAIL PROTECTED]> wrote:
I am looking for an appender that is a combination of the
RollingFileAppender and the DailyRollingFileAppender, so that logs roll
every day, but it only
On 6/28/06, Pavan Sara (CONS), IT <[EMAIL PROTECTED]> wrote:
Thank you very much!
I'll try.
What about the second situation I described?
1) A single application
2) Two appenders writing on the same file (but
with different layout and level).
Is it not an acceptable configuration?
According to
I am looking for an appender that is a combination of the
RollingFileAppender and the DailyRollingFileAppender, so that logs roll
every day, but it only keeps that last X logs. Has anyone written one
of these?
Trent Andrews
Programmer/Analyst
IT Division of Rain & Hail L.L.C.
515-559-1290
Fax:
Thank you very much!
I'll try.
What about the second situation I described?
1) A single application
2) Two appenders writing on the same file (but
with different layout and level).
Is it not an acceptable configuration?
S.
===
Sara Pavan
Software Developer
ON
You shouldn't have two JVM's writing to the same file. If you want
logs from 2 JVMs to go to the same file you can have them send out the
logs on a SocketAppender and have a ServerSocket(name?) receive them
and write them to the file.
On 6/28/06, Pavan Sara (CONS), IT <[EMAIL PROTECTED]> wrote:
Imagine: Two processes own a file handle to the same file. I wonder that not
already the concurrent writing gives problems. But if one process wants to
rename the file, this can't become good in each case. (this is a OS and
Filesystem issue and not a Log4j issue).
If you want two JVM writing to
Hi all,
I'm using Log4j (log4j-1.2.9.jar) for two applications (two JVMs)
which use the same configuration file and write onto the same
log files.
Traces seem correct, but the RollingFileAppender doesn't work.
There's no backup file but the log is reset when max size is reached.
I've recreated t
The problem is not that it does not roll over at midnight (this works
perfectly) but that the log file from the very same day is overwritten when
restarting the application.
Heri
> -Original Message-
> From: Lewis, Cory (Genworth) [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, June 28, 200
>
> Hi all
>
> I use log4j 1.2.8 in a server environement with
> DailyRollingFileAppenders. Although the property Append is
> set to true, the logfiles are sometimes overwritten on
> restart of the server application. I cannot reproduce this
> problem, it just happens occasionally.
> Somebo
Hi all
I use log4j 1.2.8 in a server environement with DailyRollingFileAppenders.
Although the property Append is set to true, the logfiles are sometimes
overwritten on restart of the server application. I cannot reproduce this
problem, it just happens occasionally.
Here the excerpt of my conf
Dear all,
I used NTEventLog from jakarta-log4j-1.2.8 to create
error logs in the Event Viewer of Windows 2000. But
when I insert a new record in the Event Viewer, I am
not able to explicitly set the Category, Event and
User Columns of the Event viewer. Infact I am able to
set the rest of the colum
What changes i need to do to view logs on browser window.
---
log4j.logger.com.test.xyz=debug, xyz
log4j.appender.xyz = org.apache.log4j.RollingFileAppender
log4j.appender.xyz.File=\\xyz\\xyz.log
log4j.appender.xyz.MaxFileSize=5000KB
log4j.appender.xyz.MaxBa
13 matches
Mail list logo