Skip to content

Commit

Permalink
Change :timestamps? option to :brief?
Browse files Browse the repository at this point in the history
  • Loading branch information
weavejester committed Nov 4, 2024
1 parent 78413e3 commit 5adf9f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/duct/module/logging.clj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{:duct.logger/simple
(ig/profile
:repl {:appenders
[{:type :stdout, :timestamps? false, :levels #{:report}}
[{:type :stdout, :brief? true, :levels #{:report}}
{:type :file, :path "logs/dev.log"}]}
:test {:appenders
[{:type :file, :path "logs/test.log"}]}
Expand Down
2 changes: 1 addition & 1 deletion test/duct/module/logging_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
(ig/expand config (ig/deprofile [:test]))))
(is (= {:duct.logger/simple
{:appenders
[{:type :stdout, :timestamps? false, :levels #{:report}}
[{:type :stdout, :brief? true, :levels #{:report}}
{:type :file, :path "logs/dev.log"}]}}
(ig/expand config (ig/deprofile [:repl]))))))

0 comments on commit 5adf9f3

Please sign in to comment.