File tree 2 files changed +20
-0
lines changed
2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change 29
29
runs-on : ubuntu-latest
30
30
env :
31
31
GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
32
+ SINGER_SDK_LOG_CONFIG : ./target_snowflake_logging.yaml
32
33
TARGET_SNOWFLAKE_USER : ${{secrets.TARGET_SNOWFLAKE_USER}}
33
34
TARGET_SNOWFLAKE_PASSWORD : ${{secrets.TARGET_SNOWFLAKE_PASSWORD}}
34
35
TARGET_SNOWFLAKE_ACCOUNT : ${{secrets.TARGET_SNOWFLAKE_ACCOUNT}}
67
68
- name : Test with pytest
68
69
run : |
69
70
poetry run pytest -n auto
71
+ - uses : actions/upload-artifact@v4
72
+ with :
73
+ name : snowflake-logs-py${{ matrix.python-version }}-${{ matrix.os }}
74
+ path : snowflake.log
Original file line number Diff line number Diff line change
1
+ version : 1
2
+ disable_existing_loggers : false
3
+ formatters :
4
+ simple :
5
+ format : " {levelname} | {name}| {pathname} | {message}"
6
+ style : " {"
7
+ handlers :
8
+ snowflake :
9
+ class : logging.FileHandler
10
+ formatter : simple
11
+ filename : snowflake.log
12
+ loggers :
13
+ snowflake.connector :
14
+ level : DEBUG
15
+ handlers : [ snowflake ]
You can’t perform that action at this time.
0 commit comments