Jump to content

How to disable all logging?


TheTOM_SK

Recommended Posts

Hi, I would like to disable all logging to gain some performance.

So far I have disabled services like Event Log and WMI logging:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WBEM\CIMOM]
"Logging"="0"

But there are still log files creating with extensions: evm, etl and log:

C:\Windows\inf\setupapi.app.log 516.48 kBytes
C:\Windows\System32\config\system.LOG1 256.00 kBytes
C:\Windows\System32\LogFiles\Scm\SCM.EVM 128.00 kBytes
C:\Windows\System32\LogFiles\Scm\SCM.EVM.1 192.00 kBytes
C:\Windows\System32\LogFiles\Scm\SCM.EVM.2 160.00 kBytes
C:\Windows\System32\WDI\LogFiles\BootCKCL.etl 7 7.25 MB
C:\Windows\System32\WDI\LogFiles\ShutdownCKCL.etl
C:\Windows\System32\WDI\LogFiles\WdiContextLog.etl.001
C:\Windows\System32\WDI\LogFiles\WdiContextLog.etl.002
C:\Windows\System32\WDI\LogFiles\WdiContextLog.etl.003

Edited by TheTOM_SK
Link to comment
Share on other sites

  • 3 months later...

Bumping an old topic, as I'd like to know how also.

Pardon if it's already been covered, been trying to search for it but having no luck.

Performance gain would be nice, but it's not what I'm after. The files stay locked on my drive, some unable to be defragmented, or moved at all for that matter, and it's really impeding my defragmentation routine which is too long to bother explaining, so pardon my bluntness.

Edited by Departed
Link to comment
Share on other sites

You do realize that logs are still being generated when you disable services and logging, but just not written to disk? This is akin to disabling perfmon counter objects - the data is still collected, but you just can't query it anymore.

Oh, and if anything on your box requires writing to the event log in the future, you've just generated a system hang or bugcheck by disabling the event log service. Just an FYI.

Link to comment
Share on other sites

  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...