Related to bug #166 : allow to dynamically determine whether logs should be emited, or not.