Skip to content

Commit

Permalink
show logs
Browse files Browse the repository at this point in the history
  • Loading branch information
hughhhh committed Mar 30, 2023
1 parent 6041931 commit aebca34
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion superset/extensions/ssh.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
# under the License.

import importlib
import logging
from io import StringIO
from typing import TYPE_CHECKING

Expand Down Expand Up @@ -55,7 +56,7 @@ def create_tunnel(
"ssh_username": ssh_tunnel.username,
"remote_bind_address": (url.host, url.port),
"local_bind_address": (self.local_bind_address,),
"debug_level": "ERROR",
"debug_level": logging.getLogger("flask_appbuilder").level,
}

if ssh_tunnel.password:
Expand Down
2 changes: 1 addition & 1 deletion tests/integration_tests/csv_upload_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -513,4 +513,4 @@ def test_import_parquet(mock_event_logger):

with test_db.get_sqla_engine_with_context() as engine:
data = engine.execute(f"SELECT * from {PARQUET_UPLOAD_TABLE}").fetchall()
assert data == [("max", 3), ("john", 1), ("bob", 4), ("paul", 2)]
assert data == [("max", 3), ("bob", 4), ("john", 1), ("paul", 2)]

0 comments on commit aebca34

Please sign in to comment.