mirror of
https://github.com/apache/superset.git
synced 2026-04-20 08:34:37 +00:00
chore: allow logs to show error levels for ssh tunnel (#23536)
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
# under the License.
|
||||
|
||||
import importlib
|
||||
import logging
|
||||
from io import StringIO
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
@@ -53,8 +54,9 @@ class SSHManager:
|
||||
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": logging.getLogger("flask_appbuilder").level,
|
||||
}
|
||||
|
||||
if ssh_tunnel.password:
|
||||
|
||||
Reference in New Issue
Block a user