How to hide warnings?
See original GitHub issueI’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:
- Created 8 years ago
- Reactions:1
- Comments:6 (5 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
so I shold be able to just add
cssutils_logging_level=logging.ERROR
?getLogger(‘CSSUTILS’).setLevel(CRITICAL)