Skip to content

Commit

Permalink
Issue #74 prime_caches: add more logging options
Browse files Browse the repository at this point in the history
  • Loading branch information
soxofaan committed Sep 28, 2023
1 parent 4b1c8a0 commit ef2cc6c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"requests",
"attrs",
"openeo>=0.17.0",
"openeo_driver>=0.68.0.dev",
"openeo_driver>=0.68.1.dev",
"flask~=2.0",
"gunicorn~=20.0",
"python-json-logger>=2.0.0",
Expand Down
2 changes: 1 addition & 1 deletion src/openeo_aggregator/about.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.10.9a1"
__version__ = "0.10.10a1"
4 changes: 4 additions & 0 deletions src/openeo_aggregator/background/prime_caches.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
LOG_HANDLER_ROTATING_FILE_JSON,
LOG_HANDLER_STDERR_BASIC,
LOG_HANDLER_STDERR_JSON,
LOG_HANDLER_STDOUT_BASIC,
LOG_HANDLER_STDOUT_JSON,
just_log_exceptions,
setup_logging,
)
Expand Down Expand Up @@ -76,7 +78,9 @@ def main(args: Optional[List[str]] = None):
dest="log_handlers",
choices=[
LOG_HANDLER_STDERR_BASIC,
LOG_HANDLER_STDOUT_BASIC,
LOG_HANDLER_STDERR_JSON,
LOG_HANDLER_STDOUT_JSON,
LOG_HANDLER_FILE_JSON,
LOG_HANDLER_ROTATING_FILE_JSON,
],
Expand Down

0 comments on commit ef2cc6c

Please sign in to comment.