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

Continuous log writing and toggle #38

Merged
merged 7 commits into from
Dec 29, 2024
Merged

Conversation

mslaffin
Copy link
Collaborator

No description provided.

@mslaffin mslaffin requested a review from bwalkerMIR December 18, 2024 00:53
@mslaffin
Copy link
Collaborator Author

This PR introduces a logging enhancement. By default, every time the app is opened, a log file is created in the EBEAM-Dashboard-Logs/ subfolder and everything is written to this file with DEBUG severity and greater.

The location is printed after invoking the main application entry point:

PS C:\Users\USER\EBEAM_dashboard> python .\main.py
COM ports loaded from usr/com_ports.json.
COM ports saved to usr/com_ports.json.
Log file created at C:\Users\USER\EBEAM_dashboard\EBEAM-Dashboard-Logs\log_2024-12-28_23-07-36.txt

You can enable/disable using this button:
image
indicator shows record state:
image

The export button provides a method to save off a duplicate log file with custom name, file extension.

@mslaffin mslaffin marked this pull request as ready for review December 29, 2024 05:16
@mslaffin mslaffin merged commit 75a0609 into develop Dec 29, 2024
@mslaffin mslaffin deleted the feature/continuous-logging branch December 29, 2024 05:17
@bwalkerMIR
Copy link
Collaborator

This is awesome!

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