Is it intentional to report Python logging in the Web pages? #2275
Unanswered
douglasdcm
asked this question in
Q&A
Replies: 1 comment 3 replies
-
I did more research and found a way to partially fix the issue. I disabled the element using css
Now the red message does not appear in the Web Page, just in Console |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, how are you? I did some research in issue and in the internet, but I didn't find a solution to it. I'm doing some experiments with Pyscrpit and a framework of mine. The framework is implemented in pure Python code and it logs the process using the built-in
logging
Python module. However, when the Web Page calls the classes of this framework the logs are printed in the Web Page (image 1). In theConsole
it is reported as an error, but no error happens, justINFO
is reported. I'd like to know if this is the expected behavior for Pyscript and if there is a way to not print the logs in the Web Page. Thanks for your attention.image 1

Beta Was this translation helpful? Give feedback.
All reactions