Skip to main content
Question

Debug log after upgrading to PyCelonis 2.6

  • January 31, 2024
  • 1 reply
  • 36 views

pablo.messa11
Level 3

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:

 

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

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

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

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

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

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

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

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

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

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

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

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

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

[2024-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

1 reply

janpeter.van.d
Level 12
Forum|alt.badge.img+26
  • Level 12
  • 496 replies
  • February 1, 2024

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)