We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e916b4 commit d62a27dCopy full SHA for d62a27d
1 file changed
chef-server/lib/init.rb
@@ -69,6 +69,10 @@
69
# disable the ActiveSupport json annoying stuff, as it breaks our to_json
70
Merb.disable :json
71
72
+Merb::BootLoader.before_app_loads do
73
+ Chef::Log.logger = Merb.logger
74
+end
75
+
76
# ==== Dependencies
77
78
# These are some examples of how you might specify dependencies.
@@ -163,7 +167,6 @@
163
167
c[:log_stream] = Chef::Config[:log_location]
164
168
end
165
169
166
-Chef::Log.logger = Merb.logger
170
Chef::Log.info("Compiling routes... (totally normal to see 'Cannot find resource model')")
171
172
Merb::Router.prepare do |r|
0 commit comments