Skip to content

[MonologBundle] New use_microseconds param #6466

Closed
@Seldaek

Description

@Seldaek

http://symfony.com/doc/current/cookbook/logging/monolog.html#usage should maybe mention the new use_microseconds parameter that was added in 2.11 (https://github.com/symfony/monolog-bundle/releases/tag/2.11.0).

It lets you disable microsecond precision, which speeds up log generation a tiny bit. It's kind of a micro optimization but if you log a lot of debug messages it can matter.

monolog:
    use_microseconds: false
    handlers: ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Hack DayLoggeractionableClear and specific issues ready for anyone to take them.good first issueIdeal for your first contribution! (some Symfony experience may be required)hasPRA Pull Request has already been submitted for this issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions