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

Logs stop working when log file gets cycled #474

Open
danjampro opened this issue Jun 7, 2021 · 0 comments
Open

Logs stop working when log file gets cycled #474

danjampro opened this issue Jun 7, 2021 · 0 comments

Comments

@danjampro
Copy link
Contributor

Logs from the main script disappeared after the file was cycled:

D 06-07 11:30:52.192 (11:30:52 UTC) | panoptes.pocs.core has_ac_power:476                           | Checking for AC power
D 06-07 11:30:52.211 (11:30:52 UTC) | panoptes.pocs.core _in_simulator:356                          | Using power simulator
D 06-07 11:30:52.346 (11:30:52 UTC) | panoptes.pocs.observatory is_dark:96                          | Sun -55.40 deg > -18.0 deg [observe]
D 06-07 11:30:52.349 (11:30:52 UTC) | panoptes.pocs.core is_dark:377                                | Observatory is_dark: True
D 06-07 11:30:52.366 (11:30:52 UTC) | panoptes.pocs.core _in_simulator:356                          | Using night simulator
D 06-07 11:30:52.370 (11:30:52 UTC) | panoptes.pocs.core is_weather_safe:397                        | Checking weather safety
D 06-07 11:30:52.396 (11:30:52 UTC) | panoptes.pocs.core _in_simulator:356                          | Using weather simulator
D 06-07 11:30:53.472 (11:30:53 UTC) | panoptes.pocs.core has_ac_power:476                           | Checking for AC power
D 06-07 11:30:53.504 (11:30:53 UTC) | panoptes.pocs.core _in_simulator:356                          | Using power simulator
D 06-07 11:30:53.674 (11:30:53 UTC) | panoptes.pocs.observatory is_dark:96                          | Sun -55.41 deg > -18.0 deg [observe]
D 06-07 11:30:53.677 (11:30:53 UTC) | panoptes.pocs.core is_dark:377                                | Observatory is_dark: True
D 06-07 11:30:53.702 (11:30:53 UTC) | panoptes.pocs.core _in_simulator:356                          | Using night simulator
D 06-07 11:30:53.705 (11:30:53 UTC) | panoptes.pocs.core is_weather_safe:397                        | Checking weather safety
D 06-07 11:30:53.742 (11:30:53 UTC) | panoptes.pocs.core _in_simulator:356                          | Using weather simulator
D 06-07 11:30:54.805 (11:30:54 UTC) | panoptes.pocs.core has_ac_power:476                           | Checking for AC power
D 06-07 11:30:54.820 (11:30:54 UTC) | panoptes.pocs.core _in_simulator:356                          | Using power simulator
tail: 'huntsman.log' has become inaccessible: No such file or directory
tail: 'huntsman.log' has appeared;  following new file
D 06-07 11:30:54.860 (11:30:54 UTC) | huntsman.pocs.archive.archiver _async_monitor_status:127  | Archiver status: {'is_running': True, 'status_thread': True, 'watch_thread': True, 'archive_thread': True, 'queued': 9, 'archived': 73}
D 06-07 11:31:54.934 (11:31:54 UTC) | huntsman.pocs.archive.archiver _async_monitor_status:127  | Archiver status: {'is_running': True, 'status_thread': True, 'watch_thread': True, 'archive_thread': True, 'queued': 9, 'archived': 73}
D 06-07 11:32:54.996 (11:32:54 UTC) | huntsman.pocs.archive.archiver _async_monitor_status:127  | Archiver status: {'is_running': True, 'status_thread': True, 'watch_thread': True, 'archive_thread': True, 'queued': 9, 'archived': 73}
D 06-07 11:33:55.056 (11:33:55 UTC) | huntsman.pocs.archive.archiver _async_monitor_status:127  | Archiver status: {'is_running': True, 'status_thread': True, 'watch_thread': True, 'archive_thread': True, 'queued': 9, 'archived': 73}
D 06-07 11:34:55.118 (11:34:55 UTC) | huntsman.pocs.archive.archiver _async_monitor_status:127  | Archiver status: {'is_running': True, 'status_thread': True, 'watch_thread': True, 'archive_thread': True, 'queued': 9, 'archived': 73}
D 06-07 11:35:55.176 (11:35:55 UTC) | huntsman.pocs.archive.archiver _async_monitor_status:127  | Archiver status: {'is_running': True, 'status_thread': True, 'watch_thread': True, 'archive_thread': True, 'queued': 9, 'archived': 73}
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

1 participant