Skip to content

Commit

Permalink
Raising the logging limit
Browse files Browse the repository at this point in the history
  • Loading branch information
enilas committed Aug 26, 2024
1 parent 9b17bb5 commit 95b1b84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/triangulum/logging.clj
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
:or {newline? true pprint? false force-stdout? false truncate? true}}]
(let [timestamp (.format (SimpleDateFormat. "MM/dd HH:mm:ss") (Date.))
log-filename (str (.format (SimpleDateFormat. "YYYY-MM-dd") (Date.)) ".log")
max-data (if truncate? (max-length data 500) data)
max-data (if truncate? (max-length data 2000) data)
line (str timestamp
" "
(if pprint? (with-out-str (pp/pprint data)) max-data)
Expand Down

0 comments on commit 95b1b84

Please sign in to comment.