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

[suins-indexer] add logging init #20823

Merged
merged 1 commit into from
Jan 8, 2025
Merged

Conversation

after-ephemera
Copy link
Member

Description

Add initialization so logs actually end up in stdout

Test plan

logs are flowing

    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.69s
     Running `/Users/jordankylejensen/mysten/sui/target/debug/suins-indexer`
Starting indexer with checkpoints dir: /tmp/checkpoints
2025-01-08T22:17:08.413416Z  INFO sui_data_ingestion_core::reader: cleaning processed files, watermark is 99438042
2025-01-08T22:17:08.413325Z  INFO sui_data_ingestion_core::worker_pool: Starting indexing pipeline suins_indexing with concurrency 100. Current watermark is 99438042.
2025-01-08T22:17:08.515215Z  INFO sui_data_ingestion_core::reader: Read from local. Current checkpoint number: 99438042, pruning watermark: 99438042, new updates: 0
2025-01-08T22:17:08.618230Z  INFO sui_data_ingestion_core::reader: Read from local. Current checkpoint number: 99438042, pruning watermark: 99438042, new updates: 0
2025-01-08T22:17:08.719356Z  INFO sui_data_ingestion_core::reader: Read from local. Current checkpoint number: 99438042, pruning watermark: 99438042, new updates: 0
2025-01-08T22:17:08.822170Z  INFO sui_data_ingestion_core::reader: Read from local. Current checkpoint number: 99438042, pruning watermark: 99438042, new updates: 0
2025-01-08T22:17:08.924724Z  INFO sui_data_ingestion_core::reader: Read from local. Current checkpoint number: 99438042, pruning watermark: 99438042, new updates: 0
2025-01-08T22:17:09.026985Z  INFO sui_data_ingestion_core::reader: Read from local. Current checkpoint number: 99438042, pruning watermark: 99438042, new updates: 0
2025-01-08T22:17:09.129247Z  INFO sui_data_ingestion_core::reader: Read from local. Current checkpoint number: 99438042, pruning watermark: 99438042, new updates: 0
2025-01-08T22:17:09.230280Z  INFO sui_data_ingestion_core::reader: Read from local. Current checkpoint number: 99438042, pruning watermark: 99438042, new updates: 0
2025-01-08T22:17:09.332760Z  INFO sui_data_ingestion_core::reader: Read from local. Current checkpoint number: 99438042, pruning watermark: 99438042, new updates: 0
2025-01-08T22:17:09.435161Z  INFO sui_data_ingestion_core::reader: Read from local. Current checkpoint number: 99438042, pruning watermark: 99438042, new updates: 0
2025-01-08T22:17:09.537393Z  INFO sui_data_ingestion_core::reader: Read from local. Current checkpoint number: 99438042, pruning watermark: 99438042, new updates: 0
2025-01-08T22:17:09.639200Z  INFO sui_data_ingestion_core::reader: Read from local. Current checkpoint number: 99438042, pruning watermark: 99438042, new updates: 0
2025-01-08T22:17:09.741509Z  INFO sui_data_ingestion_core::reader: Read from local. Current checkpoint number: 99438042, pruning watermark: 99438042, new updates: 0
2025-01-08T22:17:09.844328Z  INFO sui_data_ingestion_core::reader: Read from local. Current checkpoint number: 99438042, pruning watermark: 99438042, new updates: 0
2025-01-08T22:17:09.946500Z  INFO sui_data_ingestion_core::reader: Read from local. Current checkpoint number: 99438042, pruning watermark: 99438042, new updates: 0
2025-01-08T22:17:10.048789Z  INFO sui_data_ingestion_core::reader: Read from local. Current checkpoint number: 99438042, pruning watermark: 99438042, new updates: 0
2025-01-08T22:17:10.151922Z  INFO sui_data_ingestion_core::reader: Read from local. Current checkpoint number: 99438042, pruning watermark: 99438042, new updates: 0

Release notes

Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required.

For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates.

  • Protocol:
  • Nodes (Validators and Full nodes):
  • gRPC:
  • JSON-RPC:
  • GraphQL:
  • CLI:
  • Rust SDK:

@after-ephemera after-ephemera requested review from manolisliolios and a team January 8, 2025 22:23
Copy link

vercel bot commented Jan 8, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
multisig-toolkit ⬜️ Ignored (Inspect) Jan 8, 2025 10:23pm
sui-kiosk ⬜️ Ignored (Inspect) Jan 8, 2025 10:23pm
sui-typescript-docs ⬜️ Ignored (Inspect) Jan 8, 2025 10:23pm

@after-ephemera after-ephemera temporarily deployed to sui-typescript-aws-kms-test-env January 8, 2025 22:23 — with GitHub Actions Inactive
@after-ephemera after-ephemera enabled auto-merge (squash) January 8, 2025 22:26
@after-ephemera after-ephemera merged commit 7a76e17 into main Jan 8, 2025
52 checks passed
@after-ephemera after-ephemera deleted the jkj/suins-indexer-logs branch January 8, 2025 22:54
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