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

fix: set logging back to stdout to access logs in kubectl #607

Merged
merged 1 commit into from
Dec 30, 2024

Conversation

PThorpe92
Copy link
Member

No description provided.

@@ -7,6 +7,8 @@ import (
"net/http"
"net/url"
"strconv"

"github.com/sirupsen/logrus"
Copy link
Contributor

Choose a reason for hiding this comment

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

Should the alias log be added here for consistency? I noticed in most places within code the alias is used.

Copy link
Member Author

Choose a reason for hiding this comment

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

we use log for the variable name of the sLog wrapper in our custom handlers, so it would conflict. I'm beginning to wish I never alias'ed logrus in the first place :/ we should slowly change it back

@@ -74,7 +74,7 @@ const (
SyncVideoMetadataJob JobType = "sync_video_metadata"
PutVideoMetadataJob JobType = "put_video_metadata"
AddVideosJob JobType = "add_videos"
EveryThreeHours string = "0 */3 * * *"
EveryThreeHours string = "0 6-20 * * *"
Copy link
Contributor

Choose a reason for hiding this comment

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

Since the cron changed to every hour vs every 3 hours, should the variable name be changed to reflect this?

@PThorpe92 PThorpe92 merged commit 8263af4 into UnlockedLabs:main Dec 30, 2024
4 checks passed
@PThorpe92 PThorpe92 deleted the logs branch December 30, 2024 14:38
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.

2 participants