diff --git a/src/core/util.c b/src/core/util.c index cbc5eba80..10c59ed7d 100644 --- a/src/core/util.c +++ b/src/core/util.c @@ -161,7 +161,9 @@ meta_add_verbose_topic (MetaDebugTopic topic) if (verbose_topics == META_DEBUG_VERBOSE) return; +#ifdef WITH_VERBOSE_MODE ensure_logfile (); +#endif if (topic == META_DEBUG_VERBOSE) verbose_topics = META_DEBUG_VERBOSE;