Skip to content

Proper logger #148

@johnrgregg3

Description

@johnrgregg3

I seem to get a lot of log messages to stdout/stderr that look more or less like this:
%3|1488984668.648|FAIL|Master_BE_23.79.234.201#producer-2| 23.79.234.201:9092/bootstrap: Receive failed: Disconnected

For correlation with other events from other logs, and for general human readability, it would be nice if the timestamp were in a form more like "2017-03-08 16:11:36.095 UTC" or something. Is there a way to control this from the config block I hand to my Consumer or Producer?

Similarly, is there a way to tell confluent-kafka-python to put all this in a log file instead of strdout/stderr?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementRequesting a feature change

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy