Skip to content

Commit

Permalink
fix(Server): Access log tailer was initialized with path of wrong type
Browse files Browse the repository at this point in the history
  • Loading branch information
gremid committed Jan 3, 2025
1 parent 20fc160 commit 041c08c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/dwds/livestream/access_log.clj
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,9 @@

(defn start-tailer!
[ch]
(let [access-log (str env/access-log)]
(->> (Tailer/create
access-log
(->> (Tailer/create
env/access-log
(let [access-log (str env/access-log)]
(proxy [TailerListenerAdapter] []
(handle [event]
(if (instance? Throwable event)
Expand All @@ -119,8 +119,8 @@
(fileNotFound []
(log/debugf "File not found: %s" access-log))
(fileRotated []
(log/debugf "Rotated: %s" access-log)))
1000
true)
(partial #(.stop ^Tailer %)))))
(log/debugf "Rotated: %s" access-log))))
1000
true)
(partial #(.stop ^Tailer %))))

0 comments on commit 041c08c

Please sign in to comment.