Skip to content

Commit 7223d94

Browse files
committed
feat: add logLevel and remove verbose
Signed-off-by: Gaius <gaius.qi@gmail.com>
1 parent 1ba7014 commit 7223d94

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+69
-111
lines changed

build/package/docs/dfcache/dfcache-delete.1

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,8 @@ dfcache delete <\-i cid> [flags]
1616
\-\-config string the path of configuration file with yaml extension name, default is /etc/dragonfly/dfcache.yaml, it can also be set by env var: DFCACHE_CONFIG
1717
\-\-console whether logger output records to the stdout
1818
\-\-logdir string Dfcache log directory
19-
\-\-pprof\-port int listen port for pprof(default \-1)
2019
\-t, \-\-tag string different tags for the same cid will be recognized as different files in P2P network
2120
\-\-timeout duration Timeout for this cache operation, 0 is infinite
22-
\-\-verbose whether logger use debug level
2321
\-\-workhome string Dfcache working directory
2422
\-h, \-\-help help for delete
2523
.EE

build/package/docs/dfcache/dfcache-doc.1

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,8 @@ dfcache doc [flags]
1616
\-\-config string the path of configuration file with yaml extension name, default is /etc/dragonfly/dfcache.yaml, it can also be set by env var: DFCACHE_CONFIG
1717
\-\-console whether logger output records to the stdout
1818
\-\-logdir string Dfcache log directory
19-
\-\-pprof\-port int listen port for pprof(default \-1)
2019
\-t, \-\-tag string different tags for the same cid will be recognized as different files in P2P network
2120
\-\-timeout duration Timeout for this cache operation, 0 is infinite
22-
\-\-verbose whether logger use debug level
2321
\-\-workhome string Dfcache working directory
2422
\-h, \-\-help help for doc
2523
\-\-path string destination dir of generated markdown documents (default \(dq./\(dq)

build/package/docs/dfcache/dfcache-export.1

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,8 @@ dfcache export <\-i cid> <output>|<\-O output> [flags]
1616
\-\-config string the path of configuration file with yaml extension name, default is /etc/dragonfly/dfcache.yaml, it can also be set by env var: DFCACHE_CONFIG
1717
\-\-console whether logger output records to the stdout
1818
\-\-logdir string Dfcache log directory
19-
\-\-pprof\-port int listen port for pprof(default \-1)
20-
\-t, \-\-tag string different tags for the same cid will be recognized as different files in P2P network
19+
\-t, \-\-tag string different tags for the same cid will be recognized as different files in P3P network
2120
\-\-timeout duration Timeout for this cache operation, 0 is infinite
22-
\-\-verbose whether logger use debug level
2321
\-\-workhome string Dfcache working directory
2422
\-h, \-\-help help for export
2523
\-l, \-\-local only export file from local cache

build/package/docs/dfcache/dfcache-import.1

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,8 @@ dfcache import <\-i cid> <file>|<\-I file> [flags]
1616
\-\-config string the path of configuration file with yaml extension name, default is /etc/dragonfly/dfcache.yaml, it can also be set by env var: DFCACHE_CONFIG
1717
\-\-console whether logger output records to the stdout
1818
\-\-logdir string Dfcache log directory
19-
\-\-pprof\-port int listen port for pprof(default \-1)
2019
\-t, \-\-tag string different tags for the same cid will be recognized as different files in P2P network
2120
\-\-timeout duration Timeout for this cache operation, 0 is infinite
22-
\-\-verbose whether logger use debug level
2321
\-\-workhome string Dfcache working directory
2422
\-h, \-\-help help for import
2523
\-I, \-\-input string import the given file into P2P network

build/package/docs/dfcache/dfcache-plugin.1

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,8 @@ dfcache plugin [flags]
1616
\-\-config string the path of configuration file with yaml extension name, default is /etc/dragonfly/dfcache.yaml, it can also be set by env var: DFCACHE_CONFIG
1717
\-\-console whether logger output records to the stdout
1818
\-\-logdir string Dfcache log directory
19-
\-\-pprof\-port int listen port for pprof(default \-1)
2019
\-t, \-\-tag string different tags for the same cid will be recognized as different files in P2P network
2120
\-\-timeout duration Timeout for this cache operation, 0 is infinite
22-
\-\-verbose whether logger use debug level
2321
\-\-workhome string Dfcache working directory
2422
\-h, \-\-help help for plugin
2523
.EE

build/package/docs/dfcache/dfcache-stat.1

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,8 @@ dfcache stat <\-i cid> [flags]
1717
\-\-config string the path of configuration file with yaml extension name, default is /etc/dragonfly/dfcache.yaml, it can also be set by env var: DFCACHE_CONFIG
1818
\-\-console whether logger output records to the stdout
1919
\-\-logdir string Dfcache log directory
20-
\-\-pprof\-port int listen port for pprof(default \-1)
2120
\-t, \-\-tag string different tags for the same cid will be recognized as different files in P2P network
2221
\-\-timeout duration Timeout for this cache operation, 0 is infinite
23-
\-\-verbose whether logger use debug level
2422
\-\-workhome string Dfcache working directory
2523
\-h, \-\-help help for stat
2624
\-l, \-\-local only check task exists locally, and don\(aqt check other peers in P2P network

build/package/docs/dfcache/dfcache-version.1

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,8 @@ dfcache version [flags]
1616
\-\-config string the path of configuration file with yaml extension name, default is /etc/dragonfly/dfcache.yaml, it can also be set by env var: DFCACHE_CONFIG
1717
\-\-console whether logger output records to the stdout
1818
\-\-logdir string Dfcache log directory
19-
\-\-pprof\-port int listen port for pprof(default \-1)
2019
\-t, \-\-tag string different tags for the same cid will be recognized as different files in P2P network
2120
\-\-timeout duration Timeout for this cache operation, 0 is infinite
22-
\-\-verbose whether logger use debug level
2321
\-\-workhome string Dfcache working directory
2422
\-h, \-\-help help for version
2523
.EE

build/package/docs/dfcache/dfcache.1

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,8 @@ network.
2323
\-\-console whether logger output records to the stdout
2424
\-h, \-\-help help for dfcache
2525
\-\-logdir string Dfcache log directory
26-
\-\-pprof\-port int listen port for pprof(default \-1)
2726
\-t, \-\-tag string different tags for the same cid will be recognized as different files in P2P network
2827
\-\-timeout duration Timeout for this cache operation, 0 is infinite
29-
\-\-verbose whether logger use debug level
3028
\-\-workhome string Dfcache working directory
3129
.EE
3230
.SH SEE ALSO

build/package/docs/dfcache/dfcache.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,8 @@ responsibility to go back to source and add file into P2P network.
2323
--console whether logger output records to the stdout
2424
-h, --help help for dfcache
2525
--logdir string Dfcache log directory
26-
--pprof-port int listen port for pprof(default -1)
2726
-t, --tag string different tags for the same cid will be recognized as different files in P2P network
2827
--timeout duration Timeout for this cache operation, 0 is infinite
29-
--verbose whether logger use debug level
3028
--workhome string Dfcache working directory
3129
```
3230

build/package/docs/dfcache/dfcache_delete.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,8 @@ dfcache delete <-i cid> [flags]
1919
--config string the path of configuration file with yaml extension name, default is /etc/dragonfly/dfcache.yaml, it can also be set by env var: DFCACHE_CONFIG
2020
--console whether logger output records to the stdout
2121
--logdir string Dfcache log directory
22-
--pprof-port int listen port for pprof(default -1)
2322
-t, --tag string different tags for the same cid will be recognized as different files in P2P network
2423
--timeout duration Timeout for this cache operation, 0 is infinite
25-
--verbose whether logger use debug level
2624
--workhome string Dfcache working directory
2725
-h, --help help for delete
2826
```

0 commit comments

Comments
 (0)