betodealmeida commented on code in PR #23536:
URL: https://github.com/apache/superset/pull/23536#discussion_r1153530307


##########
superset/extensions/ssh.py:
##########
@@ -53,8 +53,9 @@ def create_tunnel(
         params = {
             "ssh_address_or_host": (ssh_tunnel.server_address, 
ssh_tunnel.server_port),
             "ssh_username": ssh_tunnel.username,
-            "remote_bind_address": (url.host, url.port),  # bind_port, 
bind_host
+            "remote_bind_address": (url.host, url.port),
             "local_bind_address": (self.local_bind_address,),
+            "debug_level": "ERROR",

Review Comment:
   Note that I think `logging.getLogger("flask_appbuilder").level` is an int, 
you probably need to convert to a string here. Looks like you can do something 
like this:
   
   ```python
   log = logging.getLogger("flask_appbuilder")
   str_level = logging.getLevelName(log.getEffectiveLevel())
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to