deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject git commit: EC2: Added 'enable :logging' (DTACLOUD-474)
Date Tue, 19 Mar 2013 09:02:31 GMT
Updated Branches:
  refs/heads/master a42a2a714 -> d8e529341


EC2: Added 'enable :logging' (DTACLOUD-474)


Project: http://git-wip-us.apache.org/repos/asf/deltacloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltacloud/commit/d8e52934
Tree: http://git-wip-us.apache.org/repos/asf/deltacloud/tree/d8e52934
Diff: http://git-wip-us.apache.org/repos/asf/deltacloud/diff/d8e52934

Branch: refs/heads/master
Commit: d8e52934158a85336480479b5908f957e762f5e7
Parents: a42a2a7
Author: Michal Fojtik <mfojtik@redhat.com>
Authored: Mon Mar 18 15:40:59 2013 +0100
Committer: Michal fojtik <mfojtik@redhat.com>
Committed: Tue Mar 19 10:02:14 2013 +0100

----------------------------------------------------------------------
 server/lib/ec2/server.rb |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/d8e52934/server/lib/ec2/server.rb
----------------------------------------------------------------------
diff --git a/server/lib/ec2/server.rb b/server/lib/ec2/server.rb
index 54a3330..6102fca 100644
--- a/server/lib/ec2/server.rb
+++ b/server/lib/ec2/server.rb
@@ -29,7 +29,7 @@ module Deltacloud::EC2
     extend Deltacloud::Helpers::Drivers
 
     use Rack::ETag
-    use Deltacloud[:ec2].logger
+    use Deltacloud[:ec2].logger unless RUBY_PLATFORM == 'java'
 
     helpers Sinatra::AuthHelper
     helpers Deltacloud::Helpers::Drivers
@@ -38,6 +38,7 @@ module Deltacloud::EC2
     enable :xhtml
     enable :dump_errors
     enable :show_errors
+    enable :logging
     disable :show_exceptions
 
     set :config, Deltacloud[:ec2]


Mime
View raw message