Sent = when sent via JMS......logical.
+1
Regards,
Mathias
----- Original Message -----
From: "Tim Dwelle" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 03, 2001 11:00 PM
Subject: [PATCH] Logging Event
> I have been using Log4J 1.1b6 to log messages that I pull
> off a JMS publish-subscribe topic. I'd like the timeStamp
> of the logging event to reflect the time the message was
> sent via JMS, rather than the time our subscriber gets
> around to logging the message.
>
> The current LoggingEvent derives the timeStamp when it is
> constructed, and that value cannot be changed (since the
> attribute is final). Attached is a modified version of
> LoggingEvent, with an alternate constructor allowing you
> to specify the timeStamp of the event.
>
> While I realize most people shouldn't need this... the
> change is extremely trivial and does make the system more
> flexible. And it would help me out a bunch!
>
> Thanks.
>
> - Tim Dwelle
> [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]