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

Include information about db-sync version, commit and flags in the logs #1166

Closed
ArturWieczorek opened this issue Jun 28, 2022 · 1 comment
Closed
Labels
enhancement New feature or request

Comments

@ArturWieczorek
Copy link
Contributor

It could be useful to add information about db-sync version and commit in the logs:

[ci8-benc:db-sync-node.basicInfo.version:Notice:5] [2022-06-25 10:05:33.86 UTC] 13.0.X
[ci8-benc:db-sync-node.basicInfo.commit:Notice:5] [2022-06-25 10:05:33.86 UTC] abc123...

and the flags (like: disable-ledger / disable-cache / no-epoch-table ) it was run with:

[db-sync-node:Warning][2022-06-25 17:34:53.29 UTC] Flag disable-ledger: True
[db-sync-node:Warning][2022-06-25 17:34:53.29 UTC] Flag disable-cache: True
[db-sync-node:Warning][2022-06-25 17:34:53.29 UTC] Flag no-epoch-table: True
@ArturWieczorek ArturWieczorek added the enhancement New feature or request label Jun 28, 2022
@erikd
Copy link
Contributor

erikd commented Jun 28, 2022

There no longer is a no-epoch-table flag. It has been replaced by disable-epoch.

erikd added a commit that referenced this issue Jun 29, 2022
Report cabal version, git hash and status of command line options.

Closes: #1166
@erikd erikd closed this as completed in 9586a8e Jun 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants