Will logging debugging incur a performance hit if I don't turn debugging on?

Posted by romandas on Server Fault See other posts from Server Fault or by romandas
Published on 2010-05-14T16:49:40Z Indexed on 2010/05/14 16:55 UTC
Read the original article Hit count: 841

Filed under:
|
|
|

On a Cisco device, I know that enabling debugging can incur a performance hit since debugging has such a high priority on the CPU. I know that to log debugging, you have to set logging up to the debugging level (logging buffered 4096 debugging, for example) and also enable debugging on some feature.

Does configuring the logging debugging incur the performance hit even if you don't enable debugging on some feature, or would it be safe (assuming you want and can handle all the logging events via syslog) to configure 'logging buffered 4096 debugging' to have maximum logging available if/when someone uses debug?

© Server Fault or respective owner

Related posts about cisco

Related posts about logging