Skip to content

Commit

Permalink
Save logs
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon committed Aug 29, 2024
1 parent f8a65a7 commit cc3f3dd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,7 @@ jobs:
- name: Test with pytest
run: |
poetry run pytest -n auto
- uses: actions/upload-artifact@v4
with:
name: snowflake-logs-py${{ matrix.python-version }}
path: snowflake.log
5 changes: 5 additions & 0 deletions target_snowflake_logging.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
version: 1
disable_existing_loggers: false
handlers:
snowflake:
class: logging.FileHandler
filename: snowflake.log
loggers:
snowflake.connector:
level: DEBUG
handlers: [ snowflake ]

0 comments on commit cc3f3dd

Please sign in to comment.