Want to stop Postgre from creating those large log files, here's how - Page 2
Page 2 of 5 FirstFirst 1234 ... LastLast
Results 11 to 20 of 43
  1. #11
    Junior Member
    Join Date
    Jun 2009
    Posts
    25

    Default

    TY for this info. Just setting up a new laptop (w Windows 7) and it won't let me save the changes in notepad, saves I don't have permission to save in this location and to contact administrator. Any ideas anyone?

    EDIT: Okay, I found elsewhere that you should just save the file elsewhere and copy it where it needs to be. So I did that, and now in the postgres 'data' folder I two postgresql.con files. Under 'type', the original says 'conF file' and the revised one says 'text' file. If I just delete the original will postgres use the 'text' file?
    Last edited by MacUser; 01-16-2010 at 08:22 PM.

  2. #12
    HM Support netsrak's Avatar
    Join Date
    Feb 2009
    Location
    Germany
    Posts
    25,795

    Default

    No that will not work.
    You need to delete the original file (or rename it as backup).
    Then you need to rename your txt file to the original filename.

    Notepad unfortunately automatically adds a .txt extension when editing a file.

    After the renaming you need to restart your postgresql service (or reboot your computer).

  3. #13
    Senior Member
    Join Date
    Aug 2008
    Posts
    109

    Default

    im trying to turn the logging off, and i'm getting an error while trying to save in notepad that says "Access is denied".

    This is when im trying to save the edited .conf file.

    i have also tried making a copy of the file, naming it, changing the extension to txt, then make the edit, then try to save-- and its still saying 'access denied'

    ive never seen this before.

  4. #14
    HM Support netsrak's Avatar
    Join Date
    Feb 2009
    Location
    Germany
    Posts
    25,795

    Default

    stop postgresql service,
    rename the original file,
    rename the copy to the original file
    and restart postgresql.

    You need Administrator rights to do this.

  5. #15
    Junior Member
    Join Date
    Feb 2010
    Posts
    1

    Default

    does this work for 8.4 as well?

  6. #16
    HM Support netsrak's Avatar
    Join Date
    Feb 2009
    Location
    Germany
    Posts
    25,795

    Default

    It should work, check the comments in the conf files

  7. #17
    Senior Member
    Join Date
    Apr 2009
    Posts
    148

    Question

    I don't understand....why are we doing this?? Log files aren't just created for no reason....what exactly am I deleting here? What could I possibly lose down the road or cause by deleting these log files and changing the switch to off in the postgresql.conf file?

    My postgresql.conf file is 18 gigs big.

  8. #18
    Senior Member _Loki_'s Avatar
    Join Date
    Jul 2009
    Location
    B/ham UK
    Posts
    2,856

    Default

    the log files are useful maybe for troubleshooting purposes should you have a problem with postgreSQL etc, but if you get troubles old logs aren't going to help

    FAQ - Hold'em Manager Poker Tracking Software :: Large Log Files

    If you don't like the idea just delete the logs but keep logging active

  9. #19
    Member
    Join Date
    Feb 2009
    Posts
    76

    Default

    When I try to save the changes I made, it says' make sure the path is correct...

    So for some reason I can't seem to save it

    pls assist.

  10. #20
    Senior Member _Loki_'s Avatar
    Join Date
    Jul 2009
    Location
    B/ham UK
    Posts
    2,856

    Default

    hi kevin - The file you are trying to save...
    It has something to do with log files ?
    what instructions are you following ?

    what is the file called ? (give the full name)
    where is it ? (what's the name of the folder it's in ?)

    I'm asking because some files\folders have similar names - easy to make a mistake

Similar Threads

  1. large txt files being created by HEM
    By bg26892 in forum Manager General
    Replies: 2
    Last Post: 02-25-2009, 03:55 AM
  2. can't get postgre to stop ****ing up
    By feitr in forum Manager General
    Replies: 11
    Last Post: 02-06-2009, 02:48 PM
  3. Autoimport repeatedly starts downloading large files
    By soepkip in forum Manager General
    Replies: 3
    Last Post: 11-23-2008, 08:28 PM
  4. Files not being moved; temp files large
    By muddyjeremy in forum Manager General
    Replies: 3
    Last Post: 11-04-2008, 12:48 PM
  5. Problem importing large files.
    By Peleus in forum Manager General
    Replies: 1
    Last Post: 07-18-2008, 11:11 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •