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

Debug Filter: Capitalise log statement. #223

Merged
merged 1 commit into from
Apr 14, 2021
Merged

Debug Filter: Capitalise log statement. #223

merged 1 commit into from
Apr 14, 2021

Conversation

markmandel
Copy link
Contributor

Just a bit of cleanup on a log statement.

@markmandel markmandel added the kind/cleanup Refactoring code, fixing up documentation, etc label Apr 1, 2021
@markmandel markmandel requested a review from iffyio April 1, 2021 20:49
@google-cla google-cla bot added the cla: yes label Apr 1, 2021
@@ -102,7 +102,7 @@ impl FilterFactory for DebugFactory {

impl Filter for Debug {
fn read(&self, ctx: ReadContext) -> Option<ReadResponse> {
info!(self.log, "on local receive"; "from" => ctx.from, "contents" => packet_to_string(ctx.contents.clone()));
info!(self.log, "On local receive"; "from" => ctx.from, "contents" => packet_to_string(ctx.contents.clone()));
Copy link
Collaborator

Choose a reason for hiding this comment

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

The log message seems outdated from when we had on_local_receive rather than read, we should probably update it as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Excellent point 👍🏻 Lemme fix that up too.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed up! PTAL!

Just a bit of cleanup the log statements to align with the new Filter format.
@markmandel markmandel merged commit 2c21c93 into main Apr 14, 2021
@markmandel markmandel deleted the mm/admin-server branch April 14, 2021 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes kind/cleanup Refactoring code, fixing up documentation, etc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants