Skip to content

Commit

Permalink
Merge pull request #3108 from TrueBlocks/feature/remove-log-level
Browse files Browse the repository at this point in the history
Feature/remove log level
  • Loading branch information
tjayrush authored Jul 31, 2023
2 parents dea0552 + 55b2d10 commit 0cd1fcd
Show file tree
Hide file tree
Showing 623 changed files with 657 additions and 1,146 deletions.
10 changes: 5 additions & 5 deletions docs/content/chifra/accounts.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Flags:
-F, --first_block uint first block to export (inclusive, ignored when freshening)
-L, --last_block uint last block to export (inclusive, ignored when freshening)
-x, --fmt string export format, one of [none|json*|txt|csv]
-v, --verbose enable verbose (increase detail with --log_level)
-v, --verbose enable verbose output
-h, --help display this help screen
Notes:
Expand Down Expand Up @@ -139,7 +139,7 @@ Flags:
-H, --ether specify value in ether
-o, --cache force the results of the query into the cache
-x, --fmt string export format, one of [none|json*|txt|csv]
-v, --verbose enable verbose (increase detail with --log_level)
-v, --verbose enable verbose output
-h, --help display this help screen
Notes:
Expand Down Expand Up @@ -216,7 +216,7 @@ Flags:
-w, --watch continually scan for new blocks and extract data for monitored addresses
-s, --sleep float seconds to sleep between monitor passes (default 14)
-x, --fmt string export format, one of [none|json*|txt|csv]
-v, --verbose enable verbose (increase detail with --log_level)
-v, --verbose enable verbose output
-h, --help display this help screen
Notes:
Expand Down Expand Up @@ -275,7 +275,7 @@ Flags:
-d, --dry_run only available with --clean or --autoname, outputs changes to stdout instead of updating databases
-A, --autoname string an address assumed to be a token, added automatically to names database if true
-x, --fmt string export format, one of [none|json*|txt|csv]
-v, --verbose enable verbose (increase detail with --log_level)
-v, --verbose enable verbose output
-h, --help display this help screen
Notes:
Expand Down Expand Up @@ -328,7 +328,7 @@ Flags:
-e, --encode string generate the 32-byte encoding for a given cannonical function or event signature
-C, --clean remove an abi file for an address or all zero-length files if no address is given
-x, --fmt string export format, one of [none|json*|txt|csv]
-v, --verbose enable verbose (increase detail with --log_level)
-v, --verbose enable verbose output
-h, --help display this help screen
Notes:
Expand Down
12 changes: 6 additions & 6 deletions docs/content/chifra/admin.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Arguments:
Flags:
-a, --paths show the configuration paths for the system
-x, --fmt string export format, one of [none|json*|txt|csv]
-v, --verbose enable verbose (increase detail with --log_level)
-v, --verbose enable verbose output
-h, --help display this help screen
```

Expand Down Expand Up @@ -79,7 +79,7 @@ Flags:
-c, --first_record uint the first record to process
-e, --max_records uint the maximum number of records to process (default 10000)
-x, --fmt string export format, one of [none|json*|txt|csv]
-v, --verbose enable verbose (increase detail with --log_level)
-v, --verbose enable verbose output
-h, --help display this help screen
Notes:
Expand Down Expand Up @@ -131,7 +131,7 @@ Flags:
-m, --monitor instruct the node to start the monitors tool
-g, --grpc run gRPC server to serve names
-x, --fmt string export format, one of [none|json*|txt|csv]
-v, --verbose enable verbose (increase detail with --log_level)
-v, --verbose enable verbose output
-h, --help display this help screen
Notes:
Expand Down Expand Up @@ -182,7 +182,7 @@ Flags:
-r, --remote pin new chunks to the gateway (requires pinning service keys)
-s, --sleep float seconds to sleep between scraper passes (default 14)
-l, --start_block uint first block to visit when scraping (snapped back to most recent snap_to_grid mark)
-v, --verbose enable verbose (increase detail with --log_level)
-v, --verbose enable verbose output
-h, --help display this help screen
```

Expand Down Expand Up @@ -289,7 +289,7 @@ Flags:
-d, --deep if true, dig more deeply during checking (manifest only)
-s, --sleep float for --remote pinning only, seconds to sleep between API calls
-x, --fmt string export format, one of [none|json*|txt|csv]
-v, --verbose enable verbose (increase detail with --log_level)
-v, --verbose enable verbose output
-h, --help display this help screen
Notes:
Expand Down Expand Up @@ -356,7 +356,7 @@ Flags:
-d, --dry_run display the results of the download without actually downloading
-F, --first_block uint do not download any chunks earlier than this block
-s, --sleep float seconds to sleep between downloads
-v, --verbose enable verbose (increase detail with --log_level)
-v, --verbose enable verbose output
-h, --help display this help screen
Notes:
Expand Down
12 changes: 6 additions & 6 deletions docs/content/chifra/chaindata.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Flags:
-w, --raw report JSON data from the source with minimal processing
-o, --cache force the results of the query into the cache
-x, --fmt string export format, one of [none|json*|txt|csv]
-v, --verbose enable verbose (increase detail with --log_level)
-v, --verbose enable verbose output
-h, --help display this help screen
Notes:
Expand Down Expand Up @@ -131,7 +131,7 @@ Flags:
-w, --raw report JSON data from the source with minimal processing
-o, --cache force the results of the query into the cache
-x, --fmt string export format, one of [none|json*|txt|csv]
-v, --verbose enable verbose (increase detail with --log_level)
-v, --verbose enable verbose output
-h, --help display this help screen
Notes:
Expand Down Expand Up @@ -180,7 +180,7 @@ Flags:
-w, --raw report JSON data from the source with minimal processing
-o, --cache force the results of the query into the cache
-x, --fmt string export format, one of [none|json*|txt|csv]
-v, --verbose enable verbose (increase detail with --log_level)
-v, --verbose enable verbose output
-h, --help display this help screen
Notes:
Expand Down Expand Up @@ -222,7 +222,7 @@ Flags:
-w, --raw report JSON data from the source with minimal processing
-o, --cache force the results of the query into the cache
-x, --fmt string export format, one of [none|json*|txt|csv]
-v, --verbose enable verbose (increase detail with --log_level)
-v, --verbose enable verbose output
-h, --help display this help screen
Notes:
Expand Down Expand Up @@ -271,7 +271,7 @@ Flags:
-w, --raw report JSON data from the source with minimal processing
-o, --cache force the results of the query into the cache
-x, --fmt string export format, one of [none|json*|txt|csv]
-v, --verbose enable verbose (increase detail with --log_level)
-v, --verbose enable verbose output
-h, --help display this help screen
Notes:
Expand Down Expand Up @@ -329,7 +329,7 @@ Flags:
-d, --deep with --timestamps --check only, verifies timestamps from on chain (slow)
-o, --cache force the results of the query into the cache
-x, --fmt string export format, one of [none|json*|txt|csv]
-v, --verbose enable verbose (increase detail with --log_level)
-v, --verbose enable verbose output
-h, --help display this help screen
Notes:
Expand Down
4 changes: 2 additions & 2 deletions docs/content/chifra/chainstate.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Flags:
-H, --ether specify value in ether
-o, --cache force the results of the query into the cache
-x, --fmt string export format, one of [none|json*|txt|csv]
-v, --verbose enable verbose (increase detail with --log_level)
-v, --verbose enable verbose output
-h, --help display this help screen
Notes:
Expand Down Expand Up @@ -119,7 +119,7 @@ Flags:
-z, --no_zero suppress the display of zero balance accounts
-o, --cache force the results of the query into the cache
-x, --fmt string export format, one of [none|json*|txt|csv]
-v, --verbose enable verbose (increase detail with --log_level)
-v, --verbose enable verbose output
-h, --help display this help screen
Notes:
Expand Down
2 changes: 1 addition & 1 deletion docs/content/chifra/other.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ Flags:
-w, --raw report JSON data from the source with minimal processing
-o, --cache force the results of the query into the cache
-x, --fmt string export format, one of [none|json*|txt|csv]
-v, --verbose enable verbose (increase detail with --log_level)
-v, --verbose enable verbose output
-h, --help display this help screen
Notes:
Expand Down
2 changes: 1 addition & 1 deletion docs/readmes/accounts-abis.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Flags:
-e, --encode string generate the 32-byte encoding for a given cannonical function or event signature
-C, --clean remove an abi file for an address or all zero-length files if no address is given
-x, --fmt string export format, one of [none|json*|txt|csv]
-v, --verbose enable verbose (increase detail with --log_level)
-v, --verbose enable verbose output
-h, --help display this help screen
Notes:
Expand Down
2 changes: 1 addition & 1 deletion docs/readmes/accounts-export.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Flags:
-H, --ether specify value in ether
-o, --cache force the results of the query into the cache
-x, --fmt string export format, one of [none|json*|txt|csv]
-v, --verbose enable verbose (increase detail with --log_level)
-v, --verbose enable verbose output
-h, --help display this help screen
Notes:
Expand Down
2 changes: 1 addition & 1 deletion docs/readmes/accounts-list.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Flags:
-F, --first_block uint first block to export (inclusive, ignored when freshening)
-L, --last_block uint last block to export (inclusive, ignored when freshening)
-x, --fmt string export format, one of [none|json*|txt|csv]
-v, --verbose enable verbose (increase detail with --log_level)
-v, --verbose enable verbose output
-h, --help display this help screen
Notes:
Expand Down
2 changes: 1 addition & 1 deletion docs/readmes/accounts-monitors.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Flags:
-w, --watch continually scan for new blocks and extract data for monitored addresses
-s, --sleep float seconds to sleep between monitor passes (default 14)
-x, --fmt string export format, one of [none|json*|txt|csv]
-v, --verbose enable verbose (increase detail with --log_level)
-v, --verbose enable verbose output
-h, --help display this help screen
Notes:
Expand Down
2 changes: 1 addition & 1 deletion docs/readmes/accounts-names.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Flags:
-d, --dry_run only available with --clean or --autoname, outputs changes to stdout instead of updating databases
-A, --autoname string an address assumed to be a token, added automatically to names database if true
-x, --fmt string export format, one of [none|json*|txt|csv]
-v, --verbose enable verbose (increase detail with --log_level)
-v, --verbose enable verbose output
-h, --help display this help screen
Notes:
Expand Down
2 changes: 1 addition & 1 deletion docs/readmes/admin-chunks.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Flags:
-d, --deep if true, dig more deeply during checking (manifest only)
-s, --sleep float for --remote pinning only, seconds to sleep between API calls
-x, --fmt string export format, one of [none|json*|txt|csv]
-v, --verbose enable verbose (increase detail with --log_level)
-v, --verbose enable verbose output
-h, --help display this help screen
Notes:
Expand Down
2 changes: 1 addition & 1 deletion docs/readmes/admin-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Arguments:
Flags:
-a, --paths show the configuration paths for the system
-x, --fmt string export format, one of [none|json*|txt|csv]
-v, --verbose enable verbose (increase detail with --log_level)
-v, --verbose enable verbose output
-h, --help display this help screen
```

Expand Down
2 changes: 1 addition & 1 deletion docs/readmes/admin-daemon.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Flags:
-m, --monitor instruct the node to start the monitors tool
-g, --grpc run gRPC server to serve names
-x, --fmt string export format, one of [none|json*|txt|csv]
-v, --verbose enable verbose (increase detail with --log_level)
-v, --verbose enable verbose output
-h, --help display this help screen
Notes:
Expand Down
2 changes: 1 addition & 1 deletion docs/readmes/admin-init.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Flags:
-d, --dry_run display the results of the download without actually downloading
-F, --first_block uint do not download any chunks earlier than this block
-s, --sleep float seconds to sleep between downloads
-v, --verbose enable verbose (increase detail with --log_level)
-v, --verbose enable verbose output
-h, --help display this help screen
Notes:
Expand Down
2 changes: 1 addition & 1 deletion docs/readmes/admin-scrape.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Flags:
-r, --remote pin new chunks to the gateway (requires pinning service keys)
-s, --sleep float seconds to sleep between scraper passes (default 14)
-l, --start_block uint first block to visit when scraping (snapped back to most recent snap_to_grid mark)
-v, --verbose enable verbose (increase detail with --log_level)
-v, --verbose enable verbose output
-h, --help display this help screen
```

Expand Down
2 changes: 1 addition & 1 deletion docs/readmes/admin-status.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Flags:
-c, --first_record uint the first record to process
-e, --max_records uint the maximum number of records to process (default 10000)
-x, --fmt string export format, one of [none|json*|txt|csv]
-v, --verbose enable verbose (increase detail with --log_level)
-v, --verbose enable verbose output
-h, --help display this help screen
Notes:
Expand Down
2 changes: 1 addition & 1 deletion docs/readmes/chaindata-blocks.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Flags:
-w, --raw report JSON data from the source with minimal processing
-o, --cache force the results of the query into the cache
-x, --fmt string export format, one of [none|json*|txt|csv]
-v, --verbose enable verbose (increase detail with --log_level)
-v, --verbose enable verbose output
-h, --help display this help screen
Notes:
Expand Down
2 changes: 1 addition & 1 deletion docs/readmes/chaindata-logs.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Flags:
-w, --raw report JSON data from the source with minimal processing
-o, --cache force the results of the query into the cache
-x, --fmt string export format, one of [none|json*|txt|csv]
-v, --verbose enable verbose (increase detail with --log_level)
-v, --verbose enable verbose output
-h, --help display this help screen
Notes:
Expand Down
2 changes: 1 addition & 1 deletion docs/readmes/chaindata-receipts.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Flags:
-w, --raw report JSON data from the source with minimal processing
-o, --cache force the results of the query into the cache
-x, --fmt string export format, one of [none|json*|txt|csv]
-v, --verbose enable verbose (increase detail with --log_level)
-v, --verbose enable verbose output
-h, --help display this help screen
Notes:
Expand Down
2 changes: 1 addition & 1 deletion docs/readmes/chaindata-traces.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Flags:
-w, --raw report JSON data from the source with minimal processing
-o, --cache force the results of the query into the cache
-x, --fmt string export format, one of [none|json*|txt|csv]
-v, --verbose enable verbose (increase detail with --log_level)
-v, --verbose enable verbose output
-h, --help display this help screen
Notes:
Expand Down
2 changes: 1 addition & 1 deletion docs/readmes/chaindata-transactions.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Flags:
-w, --raw report JSON data from the source with minimal processing
-o, --cache force the results of the query into the cache
-x, --fmt string export format, one of [none|json*|txt|csv]
-v, --verbose enable verbose (increase detail with --log_level)
-v, --verbose enable verbose output
-h, --help display this help screen
Notes:
Expand Down
2 changes: 1 addition & 1 deletion docs/readmes/chaindata-when.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Flags:
-d, --deep with --timestamps --check only, verifies timestamps from on chain (slow)
-o, --cache force the results of the query into the cache
-x, --fmt string export format, one of [none|json*|txt|csv]
-v, --verbose enable verbose (increase detail with --log_level)
-v, --verbose enable verbose output
-h, --help display this help screen
Notes:
Expand Down
2 changes: 1 addition & 1 deletion docs/readmes/chainstate-ethstate.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Flags:
-c, --changes only report a balance when it changes from one block to the next
-n, --no_zero suppress the display of zero balance accounts
-x, --fmt string export format, one of [none|json*|txt|csv]
-v, --verbose enable verbose (increase detail with --log_level)
-v, --verbose enable verbose output
-h, --help display this help screen
Notes:
Expand Down
2 changes: 1 addition & 1 deletion docs/readmes/chainstate-state.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Flags:
-H, --ether specify value in ether
-o, --cache force the results of the query into the cache
-x, --fmt string export format, one of [none|json*|txt|csv]
-v, --verbose enable verbose (increase detail with --log_level)
-v, --verbose enable verbose output
-h, --help display this help screen
Notes:
Expand Down
2 changes: 1 addition & 1 deletion docs/readmes/chainstate-tokens.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Flags:
-z, --no_zero suppress the display of zero balance accounts
-o, --cache force the results of the query into the cache
-x, --fmt string export format, one of [none|json*|txt|csv]
-v, --verbose enable verbose (increase detail with --log_level)
-v, --verbose enable verbose output
-h, --help display this help screen
Notes:
Expand Down
2 changes: 1 addition & 1 deletion docs/readmes/other-slurp.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Flags:
-w, --raw report JSON data from the source with minimal processing
-o, --cache force the results of the query into the cache
-x, --fmt string export format, one of [none|json*|txt|csv]
-v, --verbose enable verbose (increase detail with --log_level)
-v, --verbose enable verbose output
-h, --help display this help screen
Notes:
Expand Down
1 change: 0 additions & 1 deletion src/apps/chifra/cmd/explore.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ func init() {
var capabilities = caps.Default // Additional global caps for chifra explore
// EXISTING_CODE
capabilities = capabilities.Remove(caps.Fmt)
capabilities = capabilities.Remove(caps.LogLevel)
capabilities = capabilities.Remove(caps.NoHeader)
capabilities = capabilities.Remove(caps.Output)
capabilities = capabilities.Remove(caps.Append)
Expand Down
1 change: 0 additions & 1 deletion src/apps/chifra/cmd/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ func init() {
var capabilities = caps.Default // Additional global caps for chifra init
// EXISTING_CODE
capabilities = capabilities.Remove(caps.Fmt)
capabilities = capabilities.Remove(caps.LogLevel)
capabilities = capabilities.Remove(caps.NoHeader)
capabilities = capabilities.Remove(caps.File)
capabilities = capabilities.Remove(caps.Output)
Expand Down
1 change: 0 additions & 1 deletion src/apps/chifra/cmd/scrape.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ func init() {
var capabilities = caps.Default // Additional global caps for chifra scrape
// EXISTING_CODE
capabilities = capabilities.Remove(caps.Fmt)
capabilities = capabilities.Remove(caps.LogLevel)
capabilities = capabilities.Remove(caps.NoHeader)
capabilities = capabilities.Remove(caps.File)
capabilities = capabilities.Remove(caps.Output)
Expand Down
Loading

0 comments on commit 0cd1fcd

Please sign in to comment.