logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 45274] New: not all the records are logged when using two different machines logging in the same file
Date Wed, 25 Jun 2008 12:23:32 GMT

           Summary: not all the records are logged when using two different
                    machines logging in the same file
           Product: Log4j
           Version: 1.2
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Other
        AssignedTo: log4j-dev@logging.apache.org
        ReportedBy: vooodooo50@hotmail.com

I'm working on a billing project where I create a CDR record for each
successful transaction the user do.

This CDR record is used to deduct from the user credit.

I'm using log4j to do this logging, but when I was trying a demo to ensure the
success of using log4j, I faced this problem:

I'm using two different machines to log in the same file at the same time
trying to simulate the billing process. and each machine should log 1000
record, so finally I should have in the logging file 2000 records, but I didn't
find the 2000 records instead I found 1980 record.

This is a disaster to me... I'm working on a very critical part of the project
which is the billing part if anything is missed up I will be out for sure.

So please can anyone help me with that?

I tried to sync the writing function of my application but even if I did a
static sync, I'm working in two different machines two different JVMs.

Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org

View raw message