# package silence “\sl@warningCount …”

The following warning message appears when I using "silence".

\RequirePackage{silence}
\WarningFilter{"packageName"}{"message"}
\documentclass[...]{}


then, the error message pops up like,

# "\sl@WarningCount=\count83 ........."

How do I turn off this message

• What happens if you put the document class first? What compiler are you using? You need to provide a complete example, or we cannot duplicate your problem. – user139954 Apr 25 '18 at 21:55
• Are you using TeXMaker? – user139954 Apr 26 '18 at 1:46
• yes I use TexMaker, and I use silence package as written in the manual – S. Whang Apr 26 '18 at 1:49

You could suppress these low-level information messages by altering the allocation routine macro

\documentclass{article}
\usepackage{etoolbox}
\makeatletter
\patchcmd{\e@alloc}{\wlog}{\@gobble}{}{}
\makeatother
\begin{document}
\newcount\mycount
\end{document}

• hmm,. in my case, that is not working.. Anyway, thank you for your comment :) – S. Whang Apr 27 '18 at 21:41
• @S.Whang If you have an older kernel, you'll want to patch \alloc@ not \e@alloc. – Joseph Wright Apr 28 '18 at 7:22