Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

support of asctime #210

Open
Open
@jbernardes

Description

It would be great to support both milliseconds and timezone in the datefmt, for example: %Y-%m-%dT%H:%M:%S,%f%z. (I used %f for milliseconds, even though it's not supported by datetime.strftime.)

I understand this limitation comes from the standard library formatter logging.Formatter, but if fluent-logger-python could work around or resolve it, that would be very helpful.

As a work around, user may provide a format_time(record, datefmt) function to the constructor instead of relying on the logging.Formatter.formatTime

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /