Welcome to MSFN

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.


Sign in to follow this  
Followers 0
TheTOM_SK

How to disable all logging?

5 posts in this topic

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
0

Share this post


Link to post
Share on other sites

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
0

Share this post


Link to post
Share on other sites

No one knows? D:

I guess I'll resort to failing google searches again.

0

Share this post


Link to post
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.

0

Share this post


Link to post
Share on other sites

can any one tell me how to disable log entries into "c:\windows\inf\setupapi.app.log" file

so that no entry can be made by OS insde this file...

0

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.