Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log to disk #35

Merged
merged 5 commits into from
Jul 4, 2022
Merged

Log to disk #35

merged 5 commits into from
Jul 4, 2022

Conversation

ro-tex
Copy link
Collaborator

@ro-tex ro-tex commented Jun 20, 2022

PULL REQUEST

Overview

This PR adds an optional env var which specifies a file on disk to which Pinner should write its logs. If the var is missing or empty, we don't write to disk.

Example for Visual Changes

Checklist

  • All git commits are signed. (REQUIRED)
  • All new methods or updated methods have clear docstrings.
  • Testing added or updated for new methods.
  • Verified if any changes impact the WebPortal Health Checks.
  • Appropriate documentation updated.
  • Changelog file created.

Issues Closed

Closes SKY-756

Add PINNER_LOG_FILE env var that specifies the file. Empty disables.
@ro-tex ro-tex self-assigned this Jun 20, 2022
@ro-tex ro-tex marked this pull request as ready for review June 20, 2022 15:43
@ro-tex ro-tex enabled auto-merge June 20, 2022 15:44
main.go Outdated Show resolved Hide resolved
@ro-tex ro-tex requested a review from MSevey June 22, 2022 06:42
@linear
Copy link

linear bot commented Jun 22, 2022

MSevey
MSevey previously approved these changes Jun 22, 2022
@ro-tex ro-tex mentioned this pull request Jul 1, 2022
6 tasks
skyd/skyd.go Show resolved Hide resolved
main.go Show resolved Hide resolved
main.go Show resolved Hide resolved
main.go Outdated Show resolved Hide resolved
main.go Show resolved Hide resolved
skyd/skyd.go Show resolved Hide resolved
skyd/skyd.go Show resolved Hide resolved
skyd/skyd.go Show resolved Hide resolved
workers/scanner.go Show resolved Hide resolved
main.go Show resolved Hide resolved
main.go Show resolved Hide resolved
main.go Show resolved Hide resolved
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.

None yet

4 participants