lib/utils/server.rb in mack-0.5.5.4 vs lib/utils/server.rb in mack-0.6.0
- old
+ new
@@ -14,12 +14,12 @@
app = Rack::ShowExceptions.new(app) if app_config.mack.show_exceptions
app = Rack::Recursive.new(app)
# This will reload any edited classes if the cache_classes config setting is set to true.
app = Rack::Reloader.new(app, 1) unless app_config.mack.cache_classes
# TODO: Not sure about this logger, investigate better ones.
- # TODO: Depends on MACK_DEFAULT_LOGGER already being configured.
+ # TODO: Depends on Mack.logger already being configured.
# This makes it a drag run this 'standalone' in another Ruby program.
- # app = Rack::CommonLogger.new(app, MACK_DEFAULT_LOGGER)
+ # app = Rack::CommonLogger.new(app, Mack.logger)
app
end
end # Server
end # Utils
\ No newline at end of file