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

Allow importing log package #727

Merged
merged 1 commit into from
Jan 14, 2025
Merged

Conversation

adombeck
Copy link
Contributor

@adombeck adombeck commented Jan 14, 2025

This is based on #720, merge after that

Move log package out of internal/ to allow importing it in the broker repo.

UDENG-5773

@adombeck adombeck force-pushed the UDENG-5773-allow-importing-log-package branch from 659269a to 31fcc8e Compare January 14, 2025 14:30
@adombeck
Copy link
Contributor Author

Moved to the top-level as suggested in #626 (comment) (to avoid starting the discussion about using pkg/ again).

@adombeck adombeck marked this pull request as ready for review January 14, 2025 15:06
@adombeck adombeck requested a review from a team as a code owner January 14, 2025 15:06
Copy link
Member

@didrocks didrocks left a comment

Choose a reason for hiding this comment

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

I just have one request for a comment, but once done, feel free to merge.

Thanks!

pam/pam.go Outdated
}
journal.Print(journalPriority, format, args...)
})
log.InitJournalHandler(true)
Copy link
Member

Choose a reason for hiding this comment

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

Maybe a comment on why we force connecting to the journal? (I think this is self-explanatory for now as we now we are in the PAM module, but I think being explicit can be beneficial in the future).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added a comment in #720

@adombeck adombeck force-pushed the UDENG-5773-allow-importing-log-package branch from 31fcc8e to fcbcb98 Compare January 14, 2025 15:38
To allow importing it in the broker repo
@adombeck adombeck force-pushed the UDENG-5773-allow-importing-log-package branch from fcbcb98 to fc21d45 Compare January 14, 2025 15:40
@adombeck adombeck merged commit c636df9 into main Jan 14, 2025
7 of 10 checks passed
@adombeck adombeck deleted the UDENG-5773-allow-importing-log-package branch January 14, 2025 15:41
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