[logback-dev] birthTime of the context
jhuxhorn at googlemail.com
Wed Oct 26 11:19:22 CEST 2011
I need the time of the last reset in some way so I'm able to only evaluate status messages since the last reset in an easy, straightforward way.
How about adding another attribute for that instead, like e.g. resetTime, that would be initialized to birthTime initially but would be updated at the start of the reset operation.
Would that be a reasonable compromise?
On 26.10.2011, at 09:09, ceki wrote:
> Hi Joern,
> > Could you reset the birthTime of the Context as I requested in
> > LBCLASSIC-273? Please? :)
> The birth time of the context designates the start time of the
> application (assuming logback was started at application launch). I
> don't think it makes sense to reset the birth time when the context is
> reset. For example, relative time would go backwards if birth time was
> reset which users may find confusing.
> logback-dev mailing list
> logback-dev at qos.ch
More information about the logback-dev