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 extraneous logging in test #317

Merged
merged 2 commits into from
Aug 11, 2023
Merged

Fix extraneous logging in test #317

merged 2 commits into from
Aug 11, 2023

Conversation

scohen
Copy link
Collaborator

@scohen scohen commented Aug 10, 2023

This PR is two commits, the first shuts up logging in test, but I don't understand why it's broken in the first place. More investigation is warranted.

The second cleans up the config files a bit and removes an unhandled message log message.

@scohen scohen requested review from scottming and Blond11516 August 10, 2023 23:03
Copy link
Collaborator

@Blond11516 Blond11516 left a comment

Choose a reason for hiding this comment

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

For what it's worth, Logger.configure doesn't use app env to update the level (and only that option) so this might be in indication that something special is going on with it.

On the other hand, the doc explicitly says config files should work, so... 🤷

@scohen
Copy link
Collaborator Author

scohen commented Aug 11, 2023

I know, I'm very confused about this.

Base automatically changed from redo-packaging to main August 11, 2023 16:41
scohen added 2 commits August 11, 2023 09:43
I have no idea why logs are appearing with the compile-time config. I
had to resort to calling Logger.configure() in test.exs. Something is up.

Fixes #297
 * Removed import from config.exs
 * Handled default case for ports exiting, which was causing a log
   message
 * Added lexical_test to plugin_runner's deps so we can run tests in
   its app directory
@scohen scohen merged commit 148d7a5 into main Aug 11, 2023
@scohen scohen deleted the fix-logging branch August 11, 2023 16:52
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