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_quota_max_cache_entries int
Maximum number of quota specs in the MySQL quota cache. Only effective when mysql_quota_min_batch_size is positive. (default 1000)
-mysql_quota_min_batch_size int
Minimum number of tokens to request from the MySQL quota system. Zero or lower disables batching. Only effective for quota_system=mysql.
-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: [mysql postgresql etcd noop crdb] (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: [cloud_spanner crdb mysql postgresql] (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.
-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 (68)
| Option | Description | Source |
|---|---|---|
-add_dir_header | If true, adds the file directory to the header of the log messages | help |
-alsologtostderr | log to standard error as well as files (no effect when -logtostderr=true) | help |
-alsologtostderrthreshold value | logs at or above this threshold go to stderr when -alsologtostderr=true (no effect when -logtostderr=true) | help |
-cloudspanner_dequeue_bucket_fraction float | Fraction of merkle keyspace to dequeue from, set to zero to disable. | help |
-cloudspanner_healthcheck_interval duration | DEPRECATED. | help |
-cloudspanner_max_burst_sessions uint | No longer used | help |
-cloudspanner_max_idle_sessions uint | DEPRECATED. | help |
-cloudspanner_max_open_sessions uint | DEPRECATED. | help |
-cloudspanner_min_open_sessions uint | DEPRECATED. | help |
-cloudspanner_num_channels int | Number of gRPC channels to use to talk to CloudSpanner. | help |
-cloudspanner_num_healthcheckers int | DEPRECATED. | help |
-cloudspanner_readonly_staleness duration | How far in the past to perform readonly operations. | help |
-cloudspanner_track_session_handles | DEPRECATED. | help |
-cloudspanner_uri string | Connection URI for CloudSpanner database | help |
-cloudspanner_write_sessions float | DEPRECATED. | help |
-config string | Config file containing flags, file contents can be overridden by command line flags | help |
-cpuprofile string | If set, write CPU profile to this file | help |
-crdb_max_conns int | Maximum connections to the database | help |
-crdb_max_idle_conns int | Maximum idle database connections in the connection pool (default -1) | help |
-crdb_max_unsequenced_rows int | Max number of unsequenced rows before rate limiting kicks in. | help |
-crdb_uri string | Connection URI for CockroachDB database (default "postgresql://root@localhost:26257?sslmode=disable") | help |
-etcd_http_service string | Service name to announce our HTTP endpoint under (default "trillian-logserver-http") | help |
-etcd_servers string | A comma-separated list of etcd servers; | help |
-etcd_service string | Service name to announce ourselves under (default "trillian-logserver") | help |
-healthz_timeout duration | Timeout used during healthz checks (default 5s) | help |
-http_endpoint string | Endpoint for HTTP metrics (host:port, empty means disabled) (default "localhost:8091") | help |
-kubeconfig string | Paths to a kubeconfig. | help |
-legacy_stderr_threshold_behavior | If true, stderrthreshold is ignored when logtostderr=true (legacy behavior). | help |
-lock_file_path string | etcd lock file directory path (default "/test/multimaster") | help |
-lock_holder_identity string | The identity of the holder of a current lease | help |
-lock_namespace string | The lease lock resource namespace. | help |
-log_backtrace_at value | when logging hits line file:N, emit a stack trace | help |
-log_dir string | If non-empty, write log files in this directory (no effect when -logtostderr=true) | help |
-log_file string | If non-empty, use this log file (no effect when -logtostderr=true) | help |
-log_file_max_size uint | Defines the maximum size a log file can grow to (no effect when -logtostderr=true). | help |
-logtostderr | log to standard error instead of files (default true) | help |
-max_msg_size_bytes int | Optional max gRPC message size in bytes | help |
-max_unsequenced_rows int | Max number of unsequenced rows before rate limiting kicks in. | help |
-memprofile string | If set, write memory profile to this file | help |
-mysql_max_conns int | Maximum connections to the database | help |
-mysql_max_idle_conns int | Maximum idle database connections in the connection pool (default -1) | help |
-mysql_quota_max_cache_entries int | Maximum number of quota specs in the MySQL quota cache. | help |
-mysql_quota_min_batch_size int | Minimum number of tokens to request from the MySQL quota system. | help |
-mysql_server_name string | Name of the MySQL server to be used as the Server Name in the TLS configuration | help |
-mysql_tls_ca string | Path to the CA certificate file for MySQL TLS connection | help |
-mysql_uri string | Connection URI for MySQL database (default "test:zaphod@tcp(127.0.0.1:3306)/test") | help |
-one_output | If true, only write logs to their native severity level (vs also writing to each lower severity level; | help |
-pg_max_unsequenced_rows int | Max number of unsequenced rows before rate limiting kicks in. | help |
-populate_subtree_concurrency int | Max number of concurrent workers concurrently populating subtrees (default 256) | help |
-postgresql_tls_ca string | Path to the CA certificate file for PostgreSQL TLS connection | help |
-postgresql_uri string | Connection URI for PostgreSQL database (default "postgresql:///defaultdb?host=localhost&user=test") | help |
-postgresql_verify_full | Enable full TLS verification for PostgreSQL (sslmode=verify-full). | help |
-quota_dry_run | If true no requests are blocked due to lack of tokens | help |
-quota_max_cache_entries int | Max number of quota specs in the quota cache. | help |
-quota_min_batch_size int | Minimum number of tokens to request from the quota system. | help |
-quota_system string | Quota system to use. | help |
-rpc_endpoint string | Endpoint for RPC requests (host:port) (default "localhost:8090") | help |
-skip_headers | If true, avoid header prefixes in the log messages | help |
-skip_log_headers | If true, avoid headers when opening log files (no effect when -logtostderr=true) | help |
-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) | help |
-storage_system string | Storage system to use. | help |
-tls_cert_file string | Path to the TLS server certificate. | help |
-tls_key_file string | Path to the TLS server key. | help |
-tree_delete_min_run_interval duration | Minimum interval between tree garbage collection sweeps. | help |
-tree_delete_threshold duration | Minimum period a tree has to remain deleted before being hard-deleted (default 168h0m0s) | help |
-tree_gc | If true, tree garbage collection (hard-deletion) is periodically performed (default true) | help |
-v value | number for the log level verbosity | help |
-vmodule value | comma-separated list of pattern=N settings for file-filtered logging | help |