Skip to content

Commit

Permalink
muevo fichero log [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
mariasanzs committed Dec 12, 2020
1 parent 5c37b01 commit 1940822
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 131 deletions.
130 changes: 0 additions & 130 deletions log/info.log

This file was deleted.

2 changes: 1 addition & 1 deletion sinatra/myapp.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

class MyApp < Sinatra::Base

log = ::Logger.new(File.join(File.dirname(File.expand_path(__FILE__)),'..','log','info.log'))
log = ::Logger.new(File.join(File.dirname(File.expand_path(__FILE__)),'.','log','info.log'))

configure do
use ::Rack::CommonLogger, log
Expand Down

0 comments on commit 1940822

Please sign in to comment.