Skip to content

Commit

Permalink
enable trace logging
Browse files Browse the repository at this point in the history
  • Loading branch information
kentcdodds committed Jan 4, 2024
1 parent 2789cb4 commit d28f2c3
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions other/litefs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,23 @@ proxy:
- '/*.webmanifest'
- '/__metronome'

tracing:
# Toggles tracing if 'path' is also set. Defaults to true.
enabled: true

# Output path on disk.
path: '/var/log/lifefs/trace.log'

# Maximum size of a single trace log before rolling.
# Specified in megabytes.
max-size: 64

# Maximum number of trace logs to retain.
max-count: 3

# If true, historical logs will be compressed using gzip.
compress: true

# This flag ensure that LiteFS continues to run if there is an issue on starup.
# It makes it easy to ssh in and debug any issues you might be having rather
# than continually restarting on initialization failure.
Expand Down

0 comments on commit d28f2c3

Please sign in to comment.