Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

How to disable all logging?

- - - - -

  • Please log in to reply
4 replies to this topic

#1
TheTOM_SK

TheTOM_SK

    Member

  • Member
  • PipPip
  • 138 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, 21 January 2007 - 06:25 AM.



How to remove advertisement from MSFN

#2
Departed

Departed
  • Member
  • 7 posts
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, 20 May 2007 - 01:36 AM.


#3
Departed

Departed
  • Member
  • 7 posts
No one knows? D:

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

#4
cluberti

cluberti

    Gustatus similis pullus

  • Supervisor
  • 11,250 posts
  • OS:Windows 8.1 x64
  • Country: Country Flag
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.
MCTS Windows Internals, MCITP Server 2008 EA, MCTS MDT/BDD, MCSE/MCSA Server 2003, Server 2012, Windows 8
--------------------
Please read the rules before posting!
Please consider donating to MSFN to keep it up and running!

#5
nishantcop

nishantcop
  • Member
  • 4 posts
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 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN