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

Add server log for crashes #111

Merged
merged 1 commit into from
Nov 12, 2021
Merged

Add server log for crashes #111

merged 1 commit into from
Nov 12, 2021

Conversation

rundong08
Copy link
Collaborator

Ideally, all the server logs should go to the one used by Taqo's logging
service, i.e. server-yyyy-MM-dd.log, which is managed within Dart.
However, it might be not straightforward to catch fatal errors from
within Dart. Since taqo_daemon is now called from TaqoLauncher, we could
redirect taqo_daemon's stdout and stderr to different log files. Again,
these stdout and stderr logs ideally should be managed by some rotation
strategy. However, keeping the stdout and stderr only for the latest run
is much simpler to implement and enough for our current debugging
activities. Hence that is the way I pick here.

Ideally, all the server logs should go to the one used by Taqo's logging
service, i.e. server-yyyy-MM-dd.log, which is managed within Dart.
However, it might be not straightforward to catch fatal errors from
within Dart. Since taqo_daemon is now called from TaqoLauncher, we could
redirect taqo_daemon's stdout and stderr to different log files. Again,
these stdout and stderr logs ideally should be managed by some rotation
strategy. However, keeping the stdout and stderr only for the latest run
is much simpler to implement and enough for our current debugging
activities. Hence that is the way I pick here.
@BobEvans
Copy link
Collaborator

Thanks

@BobEvans BobEvans merged commit 160015c into develop Nov 12, 2021
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