Skip to main content

Hello Community,

 

today, we upgraded one of our ML Workbench to PyCelonis 2.6.

Since then DEBUG informations are shown (see below).

 

In the Jupyter Notebook we use:

 

logging.getLogger("pycelonis").setLevel(logging.WARNING)

 

If we execute the notebook on local computer, no DEBUG information if shown. On the other hand, if we execute it on the EMS, following DEGUB informations is shown:

 

p2024-01-31 13:39:56] DEBUG: Request: 'POST' -> '/pql-language/api/lsp/publishDiagnostics/batch'

p2024-01-31 13:39:56] DEBUG: Request: 'POST' -> '/pql-language/api/lsp/publishDiagnostics/batch'

p2024-01-31 13:39:56] DEBUG: Initialize Series.

p2024-01-31 13:39:56] DEBUG: Request: 'POST' -> '/pql-language/api/lsp/publishDiagnostics/batch'

p2024-01-31 13:39:56] DEBUG: Initialize Series.

p2024-01-31 13:39:56] DEBUG: Request: 'POST' -> '/pql-language/api/lsp/publishDiagnostics/batch'

p2024-01-31 13:39:56] DEBUG: Initialize Series.

p2024-01-31 13:39:56] DEBUG: Request: 'POST' -> '/pql-language/api/lsp/publishDiagnostics/batch'

p2024-01-31 13:39:56] DEBUG: Initialize Series.

p2024-01-31 13:39:56] DEBUG: Request: 'POST' -> '/pql-language/api/lsp/publishDiagnostics/batch'

p2024-01-31 13:39:57] DEBUG: Initialize Series.

p2024-01-31 13:39:57] DEBUG: Request: 'POST' -> '/pql-language/api/lsp/publishDiagnostics/batch'

p2024-01-31 13:39:57] DEBUG: Initialize Series.

p2024-01-31 13:39:57] DEBUG: Request: 'POST' -> '/pql-language/api/lsp/publishDiagnostics/batch'

 

Did you experience the same? Do you have a solution for it?

Many Thanks!

 

Pablo

Hi @pablo.messa11,

 

The default shouldn't be DEBUG but INFO, so it seems that something is not going as planned. Could you try to set the basicConf as described here:

 

https://celonis.github.io/pycelonis/2.7.0/tutorials/executed/01_quickstart/02_celonis_basics/?h=logging#31-logging

 

import logging

logging.getLogger("pycelonis").setLevel(logging.DEBUG)

logging.basicConfig(level=logging.INFO)


Reply