lib/appsignal.rb in appsignal-1.1.5.beta.2 vs lib/appsignal.rb in appsignal-1.1.5.beta.3
- old
+ new
@@ -205,12 +205,10 @@
end
end
def start_logger(path_arg=nil)
path = Appsignal.config ? Appsignal.config.log_file_path : nil
- if path && File.writable?(File.dirname(path)) &&
- !ENV['DYNO'] &&
- !ENV['SHELLYCLOUD_DEPLOYMENT']
+ if path && !ENV['DYNO']
@logger = Logger.new(path)
@logger.formatter = log_formatter
else
@logger = Logger.new($stdout)
@logger.formatter = lambda do |severity, datetime, progname, msg|