OS Manuals

/usr/bin/trillian_log_server

From trillian-logserver 1.7.3-r8 (os), captured 2026-11-08 by running trillian_log_server --help (exit 0). permalink

Also provided by 2 other package versions
Usage of /usr/bin/trillian_log_server:
  -add_dir_header
    	If true, adds the file directory to the header of the log messages
  -alsologtostderr
    	log to standard error as well as files (no effect when -logtostderr=true)
  -alsologtostderrthreshold value
    	logs at or above this threshold go to stderr when -alsologtostderr=true (no effect when -logtostderr=true)
  -cloudspanner_dequeue_bucket_fraction float
    	Fraction of merkle keyspace to dequeue from, set to zero to disable. (default 0.75)
  -cloudspanner_healthcheck_interval duration
    	DEPRECATED. Spanner no longer supports this feature.
  -cloudspanner_max_burst_sessions uint
    	No longer used
  -cloudspanner_max_idle_sessions uint
    	DEPRECATED. Spanner no longer supports this feature.
  -cloudspanner_max_open_sessions uint
    	DEPRECATED. Spanner no longer supports this feature.
  -cloudspanner_min_open_sessions uint
    	DEPRECATED. Spanner no longer supports this feature.
  -cloudspanner_num_channels int
    	Number of gRPC channels to use to talk to CloudSpanner.
  -cloudspanner_num_healthcheckers int
    	DEPRECATED. Spanner no longer supports this feature.
  -cloudspanner_readonly_staleness duration
    	How far in the past to perform readonly operations. Within limits, raising this should help to increase performance/reduce latency. (default 1m0s)
  -cloudspanner_track_session_handles
    	DEPRECATED. Spanner no longer supports this feature.
  -cloudspanner_uri string
    	Connection URI for CloudSpanner database
  -cloudspanner_write_sessions float
    	DEPRECATED. This flag is unused and will be removed in the future. Fraction of write capable sessions to maintain.
  -config string
    	Config file containing flags, file contents can be overridden by command line flags
  -cpuprofile string
    	If set, write CPU profile to this file
  -crdb_max_conns int
    	Maximum connections to the database
  -crdb_max_idle_conns int
    	Maximum idle database connections in the connection pool (default -1)
  -crdb_max_unsequenced_rows int
    	Max number of unsequenced rows before rate limiting kicks in. Only effective for quota_system=crdb. (default 500000)
  -crdb_uri string
    	Connection URI for CockroachDB database (default "postgresql://root@localhost:26257?sslmode=disable")
  -etcd_http_service string
    	Service name to announce our HTTP endpoint under (default "trillian-logserver-http")
  -etcd_servers string
    	A comma-separated list of etcd servers; no etcd registration if empty
  -etcd_service string
    	Service name to announce ourselves under (default "trillian-logserver")
  -healthz_timeout duration
    	Timeout used during healthz checks (default 5s)
  -http_endpoint string
    	Endpoint for HTTP metrics (host:port, empty means disabled) (default "localhost:8091")
  -kubeconfig string
    	Paths to a kubeconfig. Only required if out-of-cluster.
  -legacy_stderr_threshold_behavior
    	If true, stderrthreshold is ignored when logtostderr=true (legacy behavior). If false, stderrthreshold is honored even when logtostderr=true (default true)
  -lock_file_path string
    	etcd lock file directory path (default "/test/multimaster")
  -lock_holder_identity string
    	The identity of the holder of a current lease
  -lock_namespace string
    	The lease lock resource namespace. Only effective for election_system=k8s.
  -log_backtrace_at value
    	when logging hits line file:N, emit a stack trace
  -log_dir string
    	If non-empty, write log files in this directory (no effect when -logtostderr=true)
  -log_file string
    	If non-empty, use this log file (no effect when -logtostderr=true)
  -log_file_max_size uint
    	Defines the maximum size a log file can grow to (no effect when -logtostderr=true). Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800)
  -logtostderr
    	log to standard error instead of files (default true)
  -max_msg_size_bytes int
    	Optional max gRPC message size in bytes
  -max_unsequenced_rows int
    	Max number of unsequenced rows before rate limiting kicks in. Only effective for quota_system=mysql. (default 500000)
  -memprofile string
    	If set, write memory profile to this file
  -mysql_max_conns int
    	Maximum connections to the database
  -mysql_max_idle_conns int
    	Maximum idle database connections in the connection pool (default -1)
  -mysql_server_name string
    	Name of the MySQL server to be used as the Server Name in the TLS configuration
  -mysql_tls_ca string
    	Path to the CA certificate file for MySQL TLS connection
  -mysql_uri string
    	Connection URI for MySQL database (default "test:zaphod@tcp(127.0.0.1:3306)/test")
  -one_output
    	If true, only write logs to their native severity level (vs also writing to each lower severity level; no effect when -logtostderr=true)
  -pg_max_unsequenced_rows int
    	Max number of unsequenced rows before rate limiting kicks in. Only effective for quota_system=postgresql. (default 500000)
  -populate_subtree_concurrency int
    	Max number of concurrent workers concurrently populating subtrees (default 256)
  -postgresql_tls_ca string
    	Path to the CA certificate file for PostgreSQL TLS connection
  -postgresql_uri string
    	Connection URI for PostgreSQL database (default "postgresql:///defaultdb?host=localhost&user=test")
  -postgresql_verify_full
    	Enable full TLS verification for PostgreSQL (sslmode=verify-full). If false, only sslmode=verify-ca is used.
  -quota_dry_run
    	If true no requests are blocked due to lack of tokens
  -quota_max_cache_entries int
    	Max number of quota specs in the quota cache. Zero or lower means batching is disabled. Applicable for etcd quotas. (default 1000)
  -quota_min_batch_size int
    	Minimum number of tokens to request from the quota system. Zero or lower means batching is disabled. Applicable for etcd quotas. (default 100)
  -quota_system string
    	Quota system to use. One of: [crdb mysql postgresql etcd noop] (default "mysql")
  -rpc_endpoint string
    	Endpoint for RPC requests (host:port) (default "localhost:8090")
  -skip_headers
    	If true, avoid header prefixes in the log messages
  -skip_log_headers
    	If true, avoid headers when opening log files (no effect when -logtostderr=true)
  -stderrthreshold value
    	logs at or above this threshold go to stderr when writing to files and stderr (no effect when -logtostderr=true or -alsologtostderr=true unless -legacy_stderr_threshold_behavior=false) (default 2)
  -storage_system string
    	Storage system to use. One of: [crdb mysql postgresql cloud_spanner] (default "mysql")
  -tls_cert_file string
    	Path to the TLS server certificate. If unset, the server will use unsecured connections.
  -tls_key_file string
    	Path to the TLS server key. If unset, the server will use unsecured connections.
  -tracing
    	If true opencensus Stackdriver tracing will be enabled. See https://opencensus.io/.
  -tracing_percent int
    	Percent of requests to be traced. Zero is a special case to use the DefaultSampler
  -tracing_project_id string
    	project ID to pass to stackdriver. Can be empty for GCP, consult docs for other platforms.
  -tree_delete_min_run_interval duration
    	Minimum interval between tree garbage collection sweeps. Actual runs happen randomly between [minInterval,2*minInterval). (default 4h0m0s)
  -tree_delete_threshold duration
    	Minimum period a tree has to remain deleted before being hard-deleted (default 168h0m0s)
  -tree_gc
    	If true, tree garbage collection (hard-deletion) is periodically performed (default true)
  -v value
    	number for the log level verbosity
  -vmodule value
    	comma-separated list of pattern=N settings for file-filtered logging
Options (69)
OptionDescriptionSource
-add_dir_headerIf true, adds the file directory to the header of the log messageshelp
-alsologtostderrlog to standard error as well as files (no effect when -logtostderr=true)help
-alsologtostderrthreshold valuelogs at or above this threshold go to stderr when -alsologtostderr=true (no effect when -logtostderr=true)help
-cloudspanner_dequeue_bucket_fraction floatFraction of merkle keyspace to dequeue from, set to zero to disable.help
-cloudspanner_healthcheck_interval durationDEPRECATED.help
-cloudspanner_max_burst_sessions uintNo longer usedhelp
-cloudspanner_max_idle_sessions uintDEPRECATED.help
-cloudspanner_max_open_sessions uintDEPRECATED.help
-cloudspanner_min_open_sessions uintDEPRECATED.help
-cloudspanner_num_channels intNumber of gRPC channels to use to talk to CloudSpanner.help
-cloudspanner_num_healthcheckers intDEPRECATED.help
-cloudspanner_readonly_staleness durationHow far in the past to perform readonly operations.help
-cloudspanner_track_session_handlesDEPRECATED.help
-cloudspanner_uri stringConnection URI for CloudSpanner databasehelp
-cloudspanner_write_sessions floatDEPRECATED.help
-config stringConfig file containing flags, file contents can be overridden by command line flagshelp
-cpuprofile stringIf set, write CPU profile to this filehelp
-crdb_max_conns intMaximum connections to the databasehelp
-crdb_max_idle_conns intMaximum idle database connections in the connection pool (default -1)help
-crdb_max_unsequenced_rows intMax number of unsequenced rows before rate limiting kicks in.help
-crdb_uri stringConnection URI for CockroachDB database (default "postgresql://root@localhost:26257?sslmode=disable")help
-etcd_http_service stringService name to announce our HTTP endpoint under (default "trillian-logserver-http")help
-etcd_servers stringA comma-separated list of etcd servers;help
-etcd_service stringService name to announce ourselves under (default "trillian-logserver")help
-healthz_timeout durationTimeout used during healthz checks (default 5s)help
-http_endpoint stringEndpoint for HTTP metrics (host:port, empty means disabled) (default "localhost:8091")help
-kubeconfig stringPaths to a kubeconfig.help
-legacy_stderr_threshold_behaviorIf true, stderrthreshold is ignored when logtostderr=true (legacy behavior).help
-lock_file_path stringetcd lock file directory path (default "/test/multimaster")help
-lock_holder_identity stringThe identity of the holder of a current leasehelp
-lock_namespace stringThe lease lock resource namespace.help
-log_backtrace_at valuewhen logging hits line file:N, emit a stack tracehelp
-log_dir stringIf non-empty, write log files in this directory (no effect when -logtostderr=true)help
-log_file stringIf non-empty, use this log file (no effect when -logtostderr=true)help
-log_file_max_size uintDefines the maximum size a log file can grow to (no effect when -logtostderr=true).help
-logtostderrlog to standard error instead of files (default true)help
-max_msg_size_bytes intOptional max gRPC message size in byteshelp
-max_unsequenced_rows intMax number of unsequenced rows before rate limiting kicks in.help
-memprofile stringIf set, write memory profile to this filehelp
-mysql_max_conns intMaximum connections to the databasehelp
-mysql_max_idle_conns intMaximum idle database connections in the connection pool (default -1)help
-mysql_server_name stringName of the MySQL server to be used as the Server Name in the TLS configurationhelp
-mysql_tls_ca stringPath to the CA certificate file for MySQL TLS connectionhelp
-mysql_uri stringConnection URI for MySQL database (default "test:zaphod@tcp(127.0.0.1:3306)/test")help
-one_outputIf true, only write logs to their native severity level (vs also writing to each lower severity level;help
-pg_max_unsequenced_rows intMax number of unsequenced rows before rate limiting kicks in.help
-populate_subtree_concurrency intMax number of concurrent workers concurrently populating subtrees (default 256)help
-postgresql_tls_ca stringPath to the CA certificate file for PostgreSQL TLS connectionhelp
-postgresql_uri stringConnection URI for PostgreSQL database (default "postgresql:///defaultdb?host=localhost&user=test")help
-postgresql_verify_fullEnable full TLS verification for PostgreSQL (sslmode=verify-full).help
-quota_dry_runIf true no requests are blocked due to lack of tokenshelp
-quota_max_cache_entries intMax number of quota specs in the quota cache.help
-quota_min_batch_size intMinimum number of tokens to request from the quota system.help
-quota_system stringQuota system to use.help
-rpc_endpoint stringEndpoint for RPC requests (host:port) (default "localhost:8090")help
-skip_headersIf true, avoid header prefixes in the log messageshelp
-skip_log_headersIf true, avoid headers when opening log files (no effect when -logtostderr=true)help
-stderrthreshold valuelogs at or above this threshold go to stderr when writing to files and stderr (no effect when -logtostderr=true or -alsologtostderr=true unless -legacy_stderr_threshold_behavior=false) (default 2)help
-storage_system stringStorage system to use.help
-tls_cert_file stringPath to the TLS server certificate.help
-tls_key_file stringPath to the TLS server key.help
-tracingIf true opencensus Stackdriver tracing will be enabled.help
-tracing_percent intPercent of requests to be traced.help
-tracing_project_id stringproject ID to pass to stackdriver.help
-tree_delete_min_run_interval durationMinimum interval between tree garbage collection sweeps.help
-tree_delete_threshold durationMinimum period a tree has to remain deleted before being hard-deleted (default 168h0m0s)help
-tree_gcIf true, tree garbage collection (hard-deletion) is periodically performed (default true)help
-v valuenumber for the log level verbosityhelp
-vmodule valuecomma-separated list of pattern=N settings for file-filtered logginghelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.