Videos / Other Resources

No attachments were found.

Large Log Files

Overview:

Log Files are taking up GB of space on my Hard Drive.  Can I prevent this?

 

 

 


Solution: 

Yes, PostgreSQL log files can become very large.  Follow the steps below to eliminate your log files altogether:

 

Note: This is for Advanced PC Users only!!!

 

 

1.  First you will want to go to c:\Program Files\PostgreSQL\8.3\data

(For PostgreSQL 8.2 it will be 8.2>data)

2.  Open the pg_log folder and if there are logs in it, just delete all of them. Just the logs not the whole pg_log folder. Now close that folder.

You will need to edit your postgresql.conf folder. You can see it here.

 log-files-01.jpg

 

3.  Move this file to your desktop if you can't save it.  (This is for Vista and Windows 7 users with UAC on)

4.  Open windows notepad.

5.  Click on the postgresql.conf folder and drag and drop it into the notepad window. You will now be able to read the files and edit it.


log-files-02.jpg


6.  You will now need to scroll down until you see:logging_collector = on
(If you are using 8.2 you may see: redirect_stderr = on)

7.  Just change this to off. (logging_collector = off) like this.

 log-files-03.jpg

8.  Now just save the change in the notepad like this.


log-files-04.jpg

9.  Copy this file back to your PostgreSQL folder.  C:\Program Files\PostgreSQL\8.3\data

10.  Close the notepad window and close your PostgreSQL folder. You will now have to restart your computer for the change to take effect.

Next time you use Holdem Manager to play just check the pg_log folder, when your done playing and it should still be empty.

 

| More

Related Articles


User Opinions (5 votes)

100% thumbs up 0% thumbs down

How would you rate this answer?



Thank you for rating this answer.

Visitor Comments

No visitor comments posted. Post a comment

Post a comment

To post a comment for this article, simply complete the form below. Fields marked with an asterisk are required.
   Name:
   Email:
* Comment:
* Enter the code below:
 

Continue