[log] disable logging only in tests by default