diff --git a/detox/src/index.js b/detox/src/index.js
index <HASH>..<HASH> 100644
--- a/detox/src/index.js
+++ b/detox/src/index.js
@@ -6,7 +6,7 @@ const argparse = require('./utils/argparse');
 const InvocationManager = require('./invoke').InvocationManager;
 const configuration = require('./configuration');
 
-log.level = loglevel = argparse.getArgValue('loglevel') || 'info';
+log.level = argparse.getArgValue('loglevel') || 'info';
 log.heading = 'detox';
 
 let websocket;
fix: ReferenceError: loglevel is not defined