diff --git a/lib/data_mapper.rb b/lib/data_mapper.rb
index <HASH>..<HASH> 100644
--- a/lib/data_mapper.rb
+++ b/lib/data_mapper.rb
@@ -108,4 +108,7 @@ module DataMapper
       Repository.context.pop
     end
   end
+  
+  # A logger should always be present.
+  Logger.new(nil, 7)
 end
Don't blow up when there's no logger set.