question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to hide warnings?

See original GitHub issue

I’m using premailer in a command line script and its dirtying up my output. How can I suppress these warnings?

WARNING Property: Unknown Property name. [21:3: mso-hide]
WARNING Property: Unknown Property name. [35:3: -ms-interpolation-mode]
WARNING Property: Unknown Property name. [45:3: -ms-text-size-adjust]
WARNING Property: Unknown Property name. [46:3: -webkit-text-size-adjust]
WARNING Property: Unknown Property name. [52:3: mso-table-lspace]
WARNING Property: Unknown Property name. [53:3: mso-table-rspace]
WARNING Property: Unknown Property name. [103:3: -webkit-font-smoothing]
WARNING Property: Unknown Property name. [1:1: -ms-interpolation-mode]
WARNING Property: Unknown Property name. [1:20: -ms-text-size-adjust]
WARNING Property: Unknown Property name. [1:46: -webkit-text-size-adjust]
WARNING Property: Unknown Property name. [1:18: mso-table-lspace]
WARNING Property: Unknown Property name. [1:37: mso-table-rspace]
WARNING Property: Unknown Property name. [1:107: -webkit-font-smoothing]
WARNING Property: Unknown Property name. [1:92: mso-hide]
WARNING Property: Unknown Property name. [1:92: mso-hide]
WARNING Property: Unknown Property name. [1:1: -ms-interpolation-mode]
WARNING Property: Unknown Property name. [1:1: -ms-interpolation-mode]
WARNING Property: Unknown Property name. [1:1: -ms-interpolation-mode]
WARNING Property: Unknown Property name. [1:1: -ms-interpolation-mode]
WARNING Property: Unknown Property name. [1:1: -ms-interpolation-mode]

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Reactions:1
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
ccorcoscommented, Jan 28, 2016

so I shold be able to just add cssutils_logging_level=logging.ERROR?

0reactions
mpermanacommented, May 8, 2020

getLogger(‘CSSUTILS’).setLevel(CRITICAL)

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to disable Python warnings? - Stack Overflow
Look at the Temporarily Suppressing Warnings section of the Python docs: If you are using code that you know will raise a warning,...
Read more >
Control (ignore/display) warnings in Python - nkmk note
Ignore all warnings. All warnings are ignored by setting the first parameter of warnings.simplefilter() , action , to 'ignore' .
Read more >
How to Disable a Warning in C++
To disable a set of warnings for a given piece of code, you have to start with a “push” pre-processor instruction, then with...
Read more >
Suppress Warnings - MATLAB & Simulink - MathWorks
To avoid confusion, you can hide warning messages during execution by changing their states from 'on' to 'off' . To suppress specific warning...
Read more >
Can I hide errors and warnings that are displayed on my ...
PHP Errors and warnings can be turned off in several ways: From hPanel. From WordPress configuration file. From .htaccess. From the PHP file...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found