use external constructor for log level in loggingScopeFactory