[
https://issues.apache.org/jira/browse/LOGCXX-361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13940781#comment-13940781
]
Thorsten Schöning commented on LOGCXX-361:
------------------------------------------
Shouldn't we first agree if this is specific to APR or not? If log4cxx committs
on using APR and doesn't handle time resolution on it's own, there's nothing we
can do at all to change this but to increase the needed version for APR. And I
don't think we should implement any workarounds for how older APR libs work on
different platforms. Same goes for test cases: What result do we expect for
what APR version? Should we warn on older APR versions with less time
resolution? We wouldn't need a test for that, this could be done in the build
tools by checking the version of APR.
The Subversion project for example relies heavily on APR as well and they often
refuse to implement any workarounds for things APR doesn't support out of the
box.
> 15-16 milliseconds granularity on Windows
> ------------------------------------------
>
> Key: LOGCXX-361
> URL: https://issues.apache.org/jira/browse/LOGCXX-361
> Project: Log4cxx
> Issue Type: Improvement
> Components: Layout
> Environment: Windows NT/2003
> Reporter: Sameer Gupta
> Assignee: Curt Arnold
> Original Estimate: 72h
> Remaining Estimate: 72h
>
> I have noticed the message timestamps being logged are atleast 15-16
> milliseconds apart on windows NT/2003 systems even though the messages
> actually requested to be logged were just couple of milliseconds apart. This
> is due to the functions being used in the log4cxx code which are based on the
> SYSTEMTIME structure. The accuracy of these functions is 15-16 milliseconds
> at the most. I have tried to play around with the code and implemented
> performance counters to produce sub 15-16 milliseconds accuracy between two
> message timestamps. This will specially help the users who develop low
> latency applications.
>
> I am wondering if I can contribute my work to the project. Please let me know
> how I can join the project as a developer and what is the procedure to
> contribute. Opologies, if this has already been implemented.
>
> Regards,
> Sameer
--
This message was sent by Atlassian JIRA
(v6.2#6252)