From 32f9af427a60006c77815c0640bf95e83d3ccfba Mon Sep 17 00:00:00 2001 From: Daniel Nitsikopoulos Date: Sun, 29 Jan 2023 12:08:26 +1100 Subject: [PATCH] Set log location --- config/app.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/app.rb b/config/app.rb index 4585a0d..349b3e9 100644 --- a/config/app.rb +++ b/config/app.rb @@ -7,5 +7,8 @@ module Adamantium config.actions.content_security_policy[:script_src] += " https://gist.github.com" config.actions.content_security_policy[:script_src] += " *.dnitza.com" config.actions.content_security_policy[:connect_src] += " https://stats.dnitza.com/api/event" + + config.logger.level = :info + config.logger.stream = "log/hanami.log" end end