In general, it’s safe to delete log files, but let’s talk about why we have them first.
Become a Patron of Ask Leo! and go ad-free!
What are log files?
Many different applications and operations on your computer generate log files as diagnostic aids; they help you when something goes wrong.
You can often use Notepad to open and read them. In some applications, you can understand what the log says, but for the most part, the content is pretty meaningless to most, and is really intended for support or technical folks.
The important thing to realize is that you may be removing a source of diagnostic information if something goes wrong later.
If things are working and have been for a while, I’ll delete the files. I’ll do that every once and a while, but most of the time, I just leave them. That’s because they’re scattered all over the place. It’s not worth my time to find and delete them. They’re also taking up very little space in comparison to the disk size.
When log files are a problem
If you are running into space issues, it may be a log file that is causing the problem. In that case, I might start by running a utility like CCleaner. One of the options that it may give you is to delete all of the log files. If you continue to run into disk space issues then of course it means using additional tools and techniques to diagnose the problem.
The bottom line is that the files are typically just fine as they are. You can delete them if you want, but it’s not worth your time, in my opinion. If you’re worried about losing them, back them up first. Copy the files to a CD or another drive and then delete them on your hard drive.