Skip to content
Snippets Groups Projects
  • Matt Holt's avatar
    5d97522d
    v2: 'log' directive for Caddyfile, and debug mode (#3052) · 5d97522d
    Matt Holt authored
    * httpcaddyfile: Begin implementing log directive, and debug mode
    
    For now, debug mode just sets the log level for all logs to DEBUG
    (unless a level is specified explicitly).
    
    * httpcaddyfile: Finish 'log' directive
    
    Also rename StringEncoder -> SingleFieldEncoder
    
    * Fix minor bug in replacer (when vals are empty)
    v2: 'log' directive for Caddyfile, and debug mode (#3052)
    Matt Holt authored
    * httpcaddyfile: Begin implementing log directive, and debug mode
    
    For now, debug mode just sets the log level for all logs to DEBUG
    (unless a level is specified explicitly).
    
    * httpcaddyfile: Finish 'log' directive
    
    Also rename StringEncoder -> SingleFieldEncoder
    
    * Fix minor bug in replacer (when vals are empty)