diff --git a/lib/mini_fb.rb b/lib/mini_fb.rb
index <HASH>..<HASH> 100644
--- a/lib/mini_fb.rb
+++ b/lib/mini_fb.rb
@@ -643,7 +643,7 @@ module MiniFB
                 resp = RestClient.get url
             end
 
-            @@log.debug 'resp=' + resp.to_s
+            @@log.debug 'resp=' + resp.to_s if @@log.debug?
 
             if options[:response_type] == :params
                 # Some methods return a param like string, for example: access_token=11935261234123|rW9JMxbN65v_pFWQl5LmHHABC
Checks log level before inspecting a debug log