snsei has joined #amber
snsei has quit [Ping timeout: 252 seconds]
snsei has joined #amber
snsei has quit [Ping timeout: 240 seconds]
snsei has joined #amber
_whitelogger has joined #amber
feepbot has quit [Ping timeout: 245 seconds]
<
FromGitter>
<igor-alexandrov> Hi guys, how to setup Amber to log to file instead of STDOUT in production?
feepbot has joined #amber
<
FromGitter>
<igor-alexandrov> Another question is how to add http basic auth?
<
FromGitter>
<drujensen> in the `config/settings.cr` you can uncomment `settings.logger = Amber::Environment::Logger.new(File.open("blog.log", "w”))`
<
FromGitter>
<drujensen> for BasicAuth you can add a pipe:
<
FromGitter>
<drujensen> ``````
<
FromGitter>
<drujensen> not sure why that didn’t properly format
<
FromGitter>
<igor-alexandrov> @drujensen thanks!