Skip to content
This repository was archived by the owner on Jan 29, 2022. It is now read-only.

Create r10k log proxy#147

Merged
dhollinger merged 1 commit intovoxpupuli:masterfrom
dhollinger:logging
Aug 27, 2020
Merged

Create r10k log proxy#147
dhollinger merged 1 commit intovoxpupuli:masterfrom
dhollinger:logging

Conversation

@dhollinger
Copy link
Copy Markdown
Member

@dhollinger dhollinger commented Aug 27, 2020

Create a new R10K log proxy to get r10k logging to the webhook logger. Also removed SINATRA_ENV in favor of just using RACK_ENV

closes #146

@dhollinger dhollinger merged commit fb57b86 into voxpupuli:master Aug 27, 2020
@dhollinger dhollinger deleted the logging branch August 27, 2020 20:40
Copy link
Copy Markdown
Contributor

@igalic igalic left a comment

Choose a reason for hiding this comment

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

🙋🏻‍♀️

super('puppet_webhook')

@logger = logger
@logger.level = level
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

what's the point of passing logger and level? above we extract level from logger, and here we initialise logger's level that we got passed
are those ever different?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Probably not, I was just being safe.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Logging doesn't appear to be working anymore.

3 participants