=== src/core/display.c
==================================================================
--- src/core/display.c	(revision 70)
+++ src/core/display.c	(local)
@@ -1237,7 +1237,9 @@
   return all_displays;
 }
 
+#ifdef WITH_VERBOSE_MODE
 static gboolean dump_events = TRUE;
+#endif
 
 static gboolean
 grab_op_is_mouse_only (MetaGrabOp op)
@@ -1598,8 +1600,10 @@
 
   display = data;
   
+#ifdef WITH_VERBOSE_MODE
   if (dump_events)
     meta_spew_event (display, event);
+#endif
 
 #ifdef HAVE_STARTUP_NOTIFICATION
   sn_display_process_event (display->sn_display, event);
=== src/core/util.c
==================================================================
--- src/core/util.c	(revision 70)
+++ src/core/util.c	(local)
@@ -131,10 +131,10 @@
 #ifndef WITH_VERBOSE_MODE
   if (setting)
     meta_fatal (_("Metacity was compiled without support for verbose mode\n"));
-#endif
-  
+#else 
   if (setting)
     ensure_logfile ();
+#endif
   
   is_verbose = setting;
 }
@@ -148,9 +148,11 @@
 void
 meta_set_debugging (gboolean setting)
 {
+#ifdef WITH_VERBOSE_MODE
   if (setting)
     ensure_logfile ();
-  
+#endif
+
   is_debugging = setting;
 }
 
@@ -373,8 +375,12 @@
   str = g_strdup_vprintf (format, args);
   va_end (args);
 
+#ifdef WITH_VERBOSE_MODE
   out = logfile ? logfile : stderr;
-  
+#else
+  out = stderr;
+#endif
+
   if (no_prefix == 0)
     utf8_fputs (_("Bug in window manager: "), out);
   utf8_fputs (str, out);
@@ -402,8 +408,12 @@
   str = g_strdup_vprintf (format, args);
   va_end (args);
 
+#ifdef WITH_VERBOSE_MODE
   out = logfile ? logfile : stderr;
-  
+#else
+  out = stderr;
+#endif
+
   if (no_prefix == 0)
     utf8_fputs (_("Window manager warning: "), out);
   utf8_fputs (str, out);
@@ -426,8 +436,12 @@
   str = g_strdup_vprintf (format, args);
   va_end (args);
 
+#ifdef WITH_VERBOSE_MODE
   out = logfile ? logfile : stderr;
-  
+#else
+  out = stderr;
+#endif
+
   if (no_prefix == 0)
     utf8_fputs (_("Window manager error: "), out);
   utf8_fputs (str, out);
