Usage of /usr/bin/trillian_log_signer:
-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)
-batch_size int
Max number of leaves to process per batch (default 1000)
-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")
-election_system string
Election system to use. One of: [noop k8s etcd] (default "etcd")
-etcd_http_service string
Service name to announce our HTTP endpoint under (default "trillian-logsigner-http")
-etcd_servers string
A comma-separated list of etcd servers; no etcd registration if empty
-force_master
If true, assume master for all logs
-healthz_timeout duration
Timeout used during healthz checks (default 5s)
-http_endpoint string
Endpoint for HTTP (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)
-master_hold_interval duration
Minimum interval to hold mastership for (default 1m0s)
-master_hold_jitter duration
Maximal random addition to --master_hold_interval (default 2m0s)
-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")
-num_sequencers int
Number of sequencer workers to run in parallel (default 10)
-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.
-pre_election_pause duration
Maximum time to wait before starting elections (default 1s)
-quota_increase_factor float
Increase factor for tokens replenished by sequencing-based quotas (1 means a 1:1 relationship between sequenced leaves and replenished tokens).Only effective for --quota_system=etcd. (default 1.1)
-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: [noop crdb mysql postgresql etcd] (default "mysql")
-rpc_endpoint string
Endpoint for RPC requests (host:port) (default "localhost:8090")
-sequencer_guard_window duration
If set, the time elapsed before submitted leaves are eligible for sequencing
-sequencer_interval duration
Time between each sequencing pass through all logs (default 100ms)
-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_ids_with_no_ephemeral_nodes string
[Deprecated] Comma-separated list of tree IDs for which storing the ephemeral nodes is disabled, or * to disable it for all trees (default "*")
-v value
number for the log level verbosity
-vmodule value
comma-separated list of pattern=N settings for file-filtered logging
Options (74)
| 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 |
-batch_size int | Max number of leaves to process per batch (default 1000) | 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 |
-election_system string | Election system to use. | help |
-etcd_http_service string | Service name to announce our HTTP endpoint under (default "trillian-logsigner-http") | help |
-etcd_servers string | A comma-separated list of etcd servers; | help |
-force_master | If true, assume master for all logs | help |
-healthz_timeout duration | Timeout used during healthz checks (default 5s) | help |
-http_endpoint string | Endpoint for HTTP (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 |
-master_hold_interval duration | Minimum interval to hold mastership for (default 1m0s) | help |
-master_hold_jitter duration | Maximal random addition to --master_hold_interval (default 2m0s) | 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 |
-num_sequencers int | Number of sequencer workers to run in parallel (default 10) | 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 |
-pre_election_pause duration | Maximum time to wait before starting elections (default 1s) | help |
-quota_increase_factor float | Increase factor for tokens replenished by sequencing-based quotas (1 means a 1:1 relationship between sequenced leaves and replenished tokens).Only effective for --quota_system=etcd. | 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 |
-sequencer_guard_window duration | If set, the time elapsed before submitted leaves are eligible for sequencing | help |
-sequencer_interval duration | Time between each sequencing pass through all logs (default 100ms) | 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_ids_with_no_ephemeral_nodes string | [Deprecated] Comma-separated list of tree IDs for which storing the ephemeral nodes is disabled, or * to disable it for all trees (default "*") | help |
-v value | number for the log level verbosity | help |
-vmodule value | comma-separated list of pattern=N settings for file-filtered logging | help |