Skip to content

Commit 0058b8c

Browse files
committed
#70: Optimized logging
Additionaly changed schedule checking if open api is outdated to 2 am.
1 parent 79c895e commit 0058b8c

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.github/workflows/check-api-outdated.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ on:
1010
types: [opened, reopened]
1111
workflow_dispatch:
1212
schedule:
13-
# At 4 am on every day. (https://crontab.guru)
14-
- cron: "0 4 * * *"
13+
# "At 2 am UTC on every day." (https://crontab.guru)
14+
- cron: "0 2 * * *"
1515

1616
jobs:
1717

doc/changes/unreleased.md

+2
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@
33
## Refactorings
44

55
* #68: Update to Python 3.10
6+
* #70: Optimized logging
7+
* n/a: Changed schedule checking if open api is outdated to 2 am

exasol/saas/client/api_access.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ def wait_until_running(
273273
def poll_status():
274274
db = self.get_database(database_id)
275275
if db.status not in success:
276-
print(f'status = {db.status}')
276+
LOG.info(f"- Database status: {db.status} ...")
277277
raise TryAgain
278278
return db.status
279279

0 commit comments

Comments
 (0)