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

Lack of logging-to-file in trackstack #433

Open
markmac99 opened this issue Sep 29, 2024 · 1 comment
Open

Lack of logging-to-file in trackstack #433

markmac99 opened this issue Sep 29, 2024 · 1 comment
Assignees

Comments

@markmac99
Copy link
Contributor

Trackstack does most of its logging to screen, where a progress bar is displayed. This means that there's nothing in any logs to show whether it is in progress, has failed, or has completed! For instance in the logs i get:

2024/09/29 06:45:09-INFO-dailyPostProc-line:419 - creating trackstack

while onscreen i get

Stacking : 20%|####                | 21/103 2024/09/29 08:20:43-INFO-StartCapture-line:913 - Reboot delayed for 1 minute because the lock file exists: /home/pi/RMS_data/.reboot_lock
Stacking : 23%|####                | 24/103 2024/09/29 08:21:43-INFO-StartCapture-line:913 - Reboot delayed for 1 minute because the lock file exists: /home/pi/RMS_data/.reboot_lock

Note also that the onscreen logging does not print a newline whch is confusing the screen logger.
I think it'd be useful if trackstack also wrote to any RMS log file that is open. I'll see if this is possible.

@markmac99 markmac99 self-assigned this Sep 29, 2024
@Cybis320
Copy link
Contributor

Not a long term solution, but setting log_stdout: true in config will log those.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants