Skip to content

Commit c1bea31

Browse files
committed
Add Plug logging at debug level
1 parent 38a2aee commit c1bea31

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/hap/http_server.ex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ defmodule HAP.HTTPServer do
55
use Plug.Router
66

77
plug(:match)
8+
plug(Plug.Logger, log: :debug)
89
plug(Plug.Parsers, parsers: [HAP.TLVParser, :json], json_decoder: Jason)
910
plug(:tidy_headers)
1011
plug(:dispatch)

0 commit comments

Comments
 (0)