Skip to content

Commit 163954e

Browse files
committed
sample-tapd.conf: update logging config
1 parent 17c2aa8 commit 163954e

File tree

1 file changed

+51
-2
lines changed

1 file changed

+51
-2
lines changed

sample-tapd.conf

Lines changed: 51 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,11 @@
3939
; Directory to log output
4040
; logdir=~/.tapd/logs
4141

42-
; Maximum logfiles to keep (0 for no rotation)
42+
; DEPRECATED! Use logging.file.max-files instead. Maximum logfiles to keep (0
43+
; for no rotation)
4344
; maxlogfiles=3
4445

45-
; Maximum logfile size in MB
46+
; DEPRECATED! Use logging.file.max-file-size instead. Maximum logfile size in MB
4647
; maxlogfilesize=10
4748

4849
; Write CPU profile to the specified file
@@ -155,6 +156,54 @@
155156
; The database backend to use for storing all asset related data
156157
; databasebackend=sqlite
157158

159+
[logging]
160+
161+
; If set, the commit-hash of the current build will not be included in log lines
162+
; by default
163+
; logging.no-commit-hash=false
164+
165+
[console]
166+
167+
; Disable this logger
168+
; logging.console.disable=false
169+
170+
; Omit timestamps from log lines
171+
; logging.console.no-timestamps=false
172+
173+
; Include the log call-site in the log line written to stdout and stderr.
174+
; Options include 'off', 'short' and 'long'
175+
; Default:
176+
; logging.console.call-site=off
177+
; Example:
178+
; logging.console.call-site=short
179+
180+
[file]
181+
; Disable this logger
182+
; logging.file.disable=false
183+
184+
; Omit timestamps from log lines
185+
; logging.file.no-timestamps=false
186+
187+
; Include the log call-site in the log line written to stdout and stderr.
188+
; Options include 'off', 'short' and 'long'
189+
; Default:
190+
; logging.file.call-site=off
191+
; Example:
192+
; logging.file.call-site=short
193+
194+
; Compression algorithm to use when rotating logs. Options include 'gzip' and
195+
; 'zstd'
196+
; Default:
197+
; logging.file.compressor=gzip
198+
; Example:
199+
; logging.file.compressor=zstd
200+
201+
; Maximum logfiles to keep (0 for no rotation)
202+
; logging.file.max-files=10
203+
204+
; Maximum logfile size in MB
205+
; logging.file.max-file-size=20
206+
158207
[hashmailcourier]
159208

160209
; The maximum time to wait for the receiver to acknowledge the proof. Valid time

0 commit comments

Comments
 (0)