Skip to content

Commit

Permalink
docs(#517): added logging to job manager docs
Browse files Browse the repository at this point in the history
  • Loading branch information
JanssenBrm authored and soxofaan committed Jan 9, 2024
1 parent e00033b commit 66358cb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions openeo/extra/job_management.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,16 @@ class MultiBackendJobManager:
.. code-block:: python
import logging
import pandas as pd
import openeo
from openeo.extra.job_management import MultiBackendJobManager
logging.basicConfig(
format='%(asctime)s - %(name)s - %(levelname)s - %(message)s',
level=logging.INFO
)
manager = MultiBackendJobManager()
manager.add_backend("foo", connection=openeo.connect("http://foo.test"))
manager.add_backend("bar", connection=openeo.connect("http://bar.test"))
Expand Down

0 comments on commit 66358cb

Please sign in to comment.