Uploaded image for project: 'logback'
  1. logback
  2. LOGBACK-963

DBAppender's script for Oracle is useless, because Timestamp cannot be read

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 1.1.1
    • logback-classic
    • Oracle 11g

    Description

      When using logback's DBApprender, script for creating tables have to be run.

      Oracle handles timestamps in other way, than other databases, in can have only 9 digits there. In recent script Timestamp is stored as Number and is completely useless, because number "1395673233762" really does not say anything.

      In attachment there is script, what adds other column to LOGGING_PROPERTY, where is normal timestamp recounted from this magic number. Now logging events to Oracle works like a charm

      Attachments

        Activity

          People

            logback-dev Logback dev list
            petr.blaha Petr Blaha
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: