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

improve iroh-bytes info logging #2194

Open
Frando opened this issue Apr 15, 2024 · 0 comments
Open

improve iroh-bytes info logging #2194

Frando opened this issue Apr 15, 2024 · 0 comments

Comments

@Frando
Copy link
Member

Frando commented Apr 15, 2024

This is the iroh-bytes part of the INFO level logs for iroh blob get for a collection with 2 blobs:

2024-04-15T23:10:37.426476Z  INFO iroh_bytes::get::db: don't have collection - doing full download
2024-04-15T23:10:37.491056Z  INFO iroh_bytes::store::fs: inserting complete entry for 1671d44bad1068a1e5306970eb10917df8514ab9dfabf458bda0ca8b40b62e42, 96 bytes
2024-04-15T23:10:37.492455Z  INFO iroh_bytes::store::fs: inserting complete entry for 49864f781f520813b53120dc1f5b0dae983eac0d60f05dbc7d4bc91cc2e987c8, 27 bytes
2024-04-15T23:10:37.493226Z  INFO iroh_bytes::store::fs: inserting complete entry for ba5ad5d77f5f526f94195b109eb57db377022508d2b01c30ad90c6454ab33709, 6 bytes
2024-04-15T23:10:37.493847Z  INFO iroh_bytes::store::fs: inserting complete entry for 8e4c7c1b99dbfd50e7a95185fead5ee1448fa904a2fdd778eaf5f2dbfd629a99, 6 bytes
2024-04-15T23:10:37.992949Z  INFO iroh_bytes::store::fs::tables: deleting Sizes for czy5is5ncbukdzjqnfyoweerpx4fcsvz36v7iwf5udfiwqfwfzba
2024-04-15T23:10:37.993319Z  WARN iroh_bytes::store::fs::tables: failed to delete Sizes /tmp/iroh013/blobs/data/1671d44bad1068a1e5306970eb10917df8514ab9dfabf458bda0ca8b40b62e42.sizes4: No such file or directory (os error 2)
2024-04-15T23:10:37.993453Z  INFO iroh_bytes::store::fs::tables: deleting Sizes for jgde66a7kiebhnjredob6wynv2md5lanmdyf3pd5jperzqxjq7ea
2024-04-15T23:10:37.993617Z  WARN iroh_bytes::store::fs::tables: failed to delete Sizes /tmp/iroh013/blobs/data/49864f781f520813b53120dc1f5b0dae983eac0d60f05dbc7d4bc91cc2e987c8.sizes4: No such file or directory (os error 2)
2024-04-15T23:10:37.993724Z  INFO iroh_bytes::store::fs::tables: deleting Sizes for rzghyg4z3p6vbz5jkgc75lk64fci7kieul65o6hk6xznx7lctkmq
2024-04-15T23:10:37.993874Z  WARN iroh_bytes::store::fs::tables: failed to delete Sizes /tmp/iroh013/blobs/data/8e4c7c1b99dbfd50e7a95185fead5ee1448fa904a2fdd778eaf5f2dbfd629a99.sizes4: No such file or directory (os error 2)
2024-04-15T23:10:37.993999Z  INFO iroh_bytes::store::fs::tables: deleting Sizes for xjnnlv37l5jg7fazlmij5nl5wn3qejii2kybymfnsddeksvtg4eq
2024-04-15T23:10:37.994194Z  WARN iroh_bytes::store::fs::tables: failed to delete Sizes /tmp/iroh013/blobs/data/ba5ad5d77f5f526f94195b109eb57db377022508d2b01c30ad90c6454ab33709.sizes4: No such file or directory (os error 2)
github-merge-queue bot pushed a commit that referenced this issue Apr 17, 2024
…cal operations (#2202)

## Description

fix(iroh-bytes): reduce log level from info to debug for most uncritical
operations

implements #2194

## Notes & open questions

<!-- Any notes, remarks or open questions you have to make about the PR.
-->

## Change checklist

- [ ] Self-review.
- [ ] Documentation updates if relevant.
- [ ] Tests if relevant.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant