mirror of
https://gitea.invidious.io/iv-org/shard-kemal.git
synced 2024-08-15 00:53:36 +00:00
Remove file handler from CommonLogHandler. Log only to STDOUT. Fixes #159
This commit is contained in:
parent
9d84d51975
commit
3ea6a01afc
5 changed files with 8 additions and 36 deletions
|
@ -29,7 +29,7 @@ describe "Macros" do
|
|||
end
|
||||
it "sets a custom logger" do
|
||||
config = Kemal::Config::INSTANCE
|
||||
logger CustomLogHandler.new("production")
|
||||
logger CustomLogHandler.new
|
||||
config.handlers.last.should be_a(CustomLogHandler)
|
||||
config.logger.should be_a(CustomLogHandler)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue