Free Republic
Browse · Search
Bloggers & Personal
Topics · Post Article

Skip to comments.

Ever wonder how many .LOG files are lurking on your Windows PC?
6/26/2023 | vanity

Posted on 06/26/2023 3:18:01 PM PDT by entropy12

click here to read article


Navigation: use the links below to view more comments.
first previous 1-2021-4041-50 next last
To: TomServo

Every day there are > 10,000 on all 4 of my PC’s.


21 posted on 06/26/2023 6:05:19 PM PDT by entropy12 (Career politicians like DeSantis are theryre to build wealth, Trump is there to serve & lose wealth)
[ Post Reply | Private Reply | To 6 | View Replies]

To: entropy12
IMHO the easiest way to get this info in Windows 10 is to run Command Prompt as Administrator (in the search bar of the taskbar, type CMD but don't press Enter, when the Start Menu narrows to the Command Prompt app, choose Run as Administrator).

Then at the Command Prompt enter this:
dir/s c:\*.log > c:\log_file_info.txt

(Replacing c:\log_file_info.txt with whatever output file name you want to write the info of .log files to.)

That will list all of the .log files on your hard drive, with the file size of each, give a summary at the bottom with # of files and total file space used. But instead of displaying it on the screen, the greater than sign pipes that output into a text file that you can open and read with a simple text editor like Notepad.

22 posted on 06/26/2023 6:05:54 PM PDT by Tell It Right (1st Thessalonians 5:21 -- Put everything to the test, hold fast to that which is true.)
[ Post Reply | Private Reply | To 1 | View Replies]

To: TomServo

This program will delete all thousands and thousands of them with one double click.


23 posted on 06/26/2023 6:06:49 PM PDT by entropy12 (Career politicians like DeSantis are theryre to build wealth, Trump is there to serve & lose wealth)
[ Post Reply | Private Reply | To 6 | View Replies]

To: entropy12

So will CC cleaner


24 posted on 06/26/2023 6:12:15 PM PDT by TomServo
[ Post Reply | Private Reply | To 23 | View Replies]

To: entropy12

3,731.


25 posted on 06/26/2023 6:16:03 PM PDT by CodeToad (No Arm up! They have!)
[ Post Reply | Private Reply | To 1 | View Replies]

To: entropy12

With Windows Explorer, I found 241 *.LOG files; largest is 3,790kb, but most were under 10kb.


26 posted on 06/26/2023 6:20:06 PM PDT by Carriage Hill (A society grows great when old men plant trees, in whose shade they know they will never sit.)
[ Post Reply | Private Reply | To 14 | View Replies]

To: entropy12

Thanks; then I’ll just delete them.


27 posted on 06/26/2023 6:21:08 PM PDT by Carriage Hill (A society grows great when old men plant trees, in whose shade they know they will never sit.)
[ Post Reply | Private Reply | To 20 | View Replies]

To: entropy12

One line unix/linux command to do the same:

find / -name “*.log” -exec rm -f {} \;

find . would start in your current directory.

find dir would start in the directory named “dir” in your current directory.


28 posted on 06/26/2023 6:32:32 PM PDT by IndispensableDestiny
[ Post Reply | Private Reply | To 1 | View Replies]

To: entropy12

For over 10 years a program I wrote for a client has been dutifully updating a log file whenever the system or a file is open, closed, or changed. There must be a hundred thousand entries. This week — for the first time ever — I used it’s data. Pretty cool!


29 posted on 06/26/2023 7:58:32 PM PDT by The Truth Will Make You Free
[ Post Reply | Private Reply | To 15 | View Replies]

To: entropy12

I couldn’t erase the entire folder of LOG files; the message was that some were in use in the System file, and that I had to close the file to erase the highlighted files.


30 posted on 06/26/2023 8:31:37 PM PDT by Carriage Hill (A society grows great when old men plant trees, in whose shade they know they will never sit.)
[ Post Reply | Private Reply | To 19 | View Replies]

To: plain talk; entropy12

“Thanks. I’ll look into it.”

here’s a tool to disable CBS logging:

DisableCBSlogging.exe

can be downloaded from here:

https://drive.google.com/file/d/1daCpqd9eD5qGXgDPTEsazqHJN-Y9nwWw/view?usp=sharing

must be run with Administrator privilege ...


31 posted on 06/26/2023 8:31:46 PM PDT by catnipman (In a post-covid world, ALL "science" is now political science: stolen elections have consequences)
[ Post Reply | Private Reply | To 9 | View Replies]

To: entropy12

essentially, the data recorded by CBS logging is used only by Microsoft engineers ...


32 posted on 06/26/2023 8:48:40 PM PDT by catnipman (In a post-covid world, ALL "science" is now political science: stolen elections have consequences)
[ Post Reply | Private Reply | To 16 | View Replies]

To: entropy12

You can also use CCleaner to delete the .Log files
Open then go to Custom Clean and you will see ‘Windows Log Files’
The free version has annoying pop up ads from them.
https://www.ccleaner.com/ccleaner


33 posted on 06/26/2023 9:18:03 PM PDT by minnesota_bound (Need more money to buy everything now)
[ Post Reply | Private Reply | To 1 | View Replies]

To: entropy12

Later.


34 posted on 06/26/2023 9:38:46 PM PDT by KrisKrinkle (c)
[ Post Reply | Private Reply | To 1 | View Replies]

To: entropy12
Thanks for the broadened explanation. It does do a lot.

...you do not always have permissions to delete them.

OH, how I now strike at thee, dreaded foe!
{;^)>

35 posted on 06/26/2023 11:13:37 PM PDT by philman_36 (Pride breakfasted with plenty, dined with poverty and supped with infamy. Benjamin Franklin)
[ Post Reply | Private Reply | To 18 | View Replies]

To: Tell It Right
If dir/s c:\*.log > c:\log_file_info.txt calls up all of them wouldn't
del dir/s c:\*.log delete them, and only them, as well?

I like simple and that seems to be it to me. if possible.

36 posted on 06/26/2023 11:28:36 PM PDT by philman_36 (Pride breakfasted with plenty, dined with poverty and supped with infamy. Benjamin Franklin)
[ Post Reply | Private Reply | To 22 | View Replies]

A simple /s. (slaps forehead)
37 posted on 06/26/2023 11:36:24 PM PDT by philman_36 (Pride breakfasted with plenty, dined with poverty and supped with infamy. Benjamin Franklin)
[ Post Reply | Private Reply | To 36 | View Replies]

To: entropy12
nope


38 posted on 06/27/2023 2:55:58 AM PDT by Pollard ( >>> The Great Rest is already underway! <<<)
[ Post Reply | Private Reply | To 1 | View Replies]

To: entropy12

Or - use the event viewer to look at the logs and use the “clear log” option...


39 posted on 06/27/2023 5:42:10 AM PDT by trebb (So many fools - so little time...)
[ Post Reply | Private Reply | To 1 | View Replies]

To: entropy12

There’s a free utility called Everything by VoidTools that will show any file (name, not content) on your disk containing any string as you type it in.

“.log” returned 2800 files for me, but some have another file extension, so make it 2600 files.

Windows search sucks. Everything is fantastic.


40 posted on 06/27/2023 7:31:50 AM PDT by Moltke (Reasoning with a liberal is like watering a rock in the hope to grow a building.)
[ Post Reply | Private Reply | To 1 | View Replies]


Navigation: use the links below to view more comments.
first previous 1-2021-4041-50 next last

Disclaimer: Opinions posted on Free Republic are those of the individual posters and do not necessarily represent the opinion of Free Republic or its management. All materials posted herein are protected by copyright law and the exemption for fair use of copyrighted works.

Free Republic
Browse · Search
Bloggers & Personal
Topics · Post Article

FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson