OK to Delete these Log Files?


  1. Posts : 335
    Win 7 Pro 64 SP1
       #1

    OK to Delete these Log Files?


    I was looking for a specific log file today, using UltraSearch, and was amazed at all the .log files scattered on my C drive: over 1,400!

    I came across this folder:

    C:\Program Files\PostgreSQL\9.5\data\pg_log

    that has 416 log files; 109 of them 1KB in size, the rest are zero file size.

    Drive space is not really a concern, I have 150 GB free on a 500 GB SSD, but I am curious if I can delete these files?

    Heck, I don’t even know what program is using PostgreSQL or how it got installed, I just know from Google that it’s a database program.

    Are these ok to delete?

    ---------------------------------

    PS: The ‘funny’ part here is the ‘log’ file I was looking for isn’t even a .log file! It turns out it’s a .txt file.
    .
      My Computer


  2. Posts : 7,097
    W7 home premium 32bit/W7HP 64bit/w10 tp insider ring
       #2

    Hi TDK,

    there not MS related, just google Postgre then you'll know if you need it for anything your running.

    Roy
      My Computer


  3. Posts : 335
    Win 7 Pro 64 SP1
    Thread Starter
       #3

    OK, thanks, Roy.
      My Computer


  4. Posts : 1,384
    Win 7 Ult 64-bit
       #4

    I have a program that makes a log file daily, and I don't need it at all.
      My Computer


  5. Posts : 2,464
    Windows 7 Ultimate x64
       #5

    Logs are just activity records of some past event. If you're not interested in analyzing them, they have no value at all and you can delete them safely. Many processes leave logs behind to troubleshot in case of problems, and once you 're done with that, they can be deleted without any problem.


    TDKMate said:
    The ‘funny’ part here is the ‘log’ file I was looking for isn’t even a .log file! It turns out it’s a .txt file.
    That's not funny, that's the norm, the best format for a log file is for it to be plain text. It facilitates further processing and are trivial to read with many tools. Even notepad can understand them.


    TDKMate said:
    Heck, I don’t even know what program is using PostgreSQL or how it got installed
    Unrelated to the main question, but that's a really serious issue, a program installing without your knowledge is a security concern. Even though PostgreSQL is a common DB software, a not-so-good software could also slip though you. Always make sure YOU control the computer and not the other way around.
      My Computer


  6. Posts : 335
    Win 7 Pro 64 SP1
    Thread Starter
       #6

    Thanks for the tips, Alejandro85. I do have .log files set to open with Notepad and have no issues there. On PostgreSQL: I can only guess as I was not prompted for it's install. My only guess is I do have multiple photo editors and now-a-days they all use some form of database to keep track of edits and the like. Perhaps it's one of those...
    .
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 02:45.
Find Us