Skip to content

Commit 66358cb

Browse files
JanssenBrmsoxofaan
authored andcommitted
docs(#517): added logging to job manager docs
1 parent e00033b commit 66358cb

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

openeo/extra/job_management.py

+6
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,16 @@ class MultiBackendJobManager:
3838
3939
.. code-block:: python
4040
41+
import logging
4142
import pandas as pd
4243
import openeo
4344
from openeo.extra.job_management import MultiBackendJobManager
4445
46+
logging.basicConfig(
47+
format='%(asctime)s - %(name)s - %(levelname)s - %(message)s',
48+
level=logging.INFO
49+
)
50+
4551
manager = MultiBackendJobManager()
4652
manager.add_backend("foo", connection=openeo.connect("http://foo.test"))
4753
manager.add_backend("bar", connection=openeo.connect("http://bar.test"))

0 commit comments

Comments
 (0)