Skip to content

Allow custom log.Logger#474

Merged
roidelapluie merged 2 commits intoprometheus:mainfrom
jkroepke:custom-logger
May 11, 2023
Merged

Allow custom log.Logger#474
roidelapluie merged 2 commits intoprometheus:mainfrom
jkroepke:custom-logger

Conversation

@jkroepke
Copy link
Member

@jkroepke jkroepke commented Apr 22, 2023

This PR allow to use custom log.Logger together with the promlog wrapper mechanics and can be considered as alternative to copy, own and manually patch as needed.

A potential use case is using promlog with an Windows Event Log backend.


Not sure, if you are willing to include Windows EventLog support by default.

Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
Copy link

@obalunenko obalunenko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jkroepke
Copy link
Member Author

@obalunenko Can I help here to move forward here? How many approvals are need to a merge?

@obalunenko
Copy link

I suppose you have to ask @kakkoyun or @roidelapluie for a review and merge - as they're maintainers of this repo

@jkroepke
Copy link
Member Author

@kakkoyun or @roidelapluie: could you please take a look here?

@jkroepke
Copy link
Member Author

jkroepke commented May 9, 2023

@SuperQ could you make take a look at this? As see some maintainer activity from your point of view.

Copy link
Member

@SuperQ SuperQ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@SuperQ SuperQ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@SuperQ SuperQ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@SuperQ SuperQ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@SuperQ SuperQ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@SuperQ SuperQ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@SuperQ
Copy link
Member

SuperQ commented May 9, 2023

lolol, github outage duplicated my LGTM.

@jkroepke
Copy link
Member Author

jkroepke commented May 9, 2023

:D are you also responsable for merge it?

@SuperQ SuperQ requested a review from roidelapluie May 9, 2023 13:14
@roidelapluie roidelapluie merged commit f505d86 into prometheus:main May 11, 2023
@roidelapluie
Copy link
Member

Thanks!

@jkroepke jkroepke deleted the custom-logger branch May 12, 2023 05:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants