Uploaded image for project: 'SLF4J'
  1. SLF4J
  2. SLF4J-114

[SLF4J-EXT] Profiler doesn't convert times to secondes when not stopped.

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.5.x
    • Unspecified
    • None
    • Operating System: Windows XP
      Platform: PC

    Description

      Hello Ceki,

      I've experienced a strange behaviour when using the Profile class:

      Let's say I have a main profiler, with several nested ones. If I forget to stop the main profiler, the times that are logged are all in nanoseconds.

      On the contrary, if I stop the main profiler, then all times are converted to secondes before printing.

      Shouldn't the convertion be made everytime, even if I forget the call to the stop() method?

      Sébastien

      ps: there is no "slf4j-ext" component in bugzilla... you might want to add it to the list

      Attachments

        Activity

          People

            slf4j-dev SLF4J developers list
            sebastien@qos.ch Sébastien Pennec
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: