SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: Huge Log Files

Hybrid View

  1. #1
    SitePoint Addict ibeblunt's Avatar
    Join Date
    Jan 2001
    Location
    Jersey City, NJ
    Posts
    312
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Huge Log Files

    I'm trying to set up my server to save my log files for me. Currently, my log files have become too big to read. On my old server, they had it set up so that my log files would save to a new file when it got to 2GB's.

    It would save like so:

    access_log

    Then when 'access_log' got too big, it would rename 'access_log' to 'access_log.1' and continue saving my stats. My old server just came like that, so I don't know what that was about.

    Now, I'm using http-analyze 2.2. But according to my host: "You won't have stats from the 17th of Decemeber to today, due to the logfile being 2 gig and unable to write more to the file, but now that I've moved the log file, it's now recording your hits again. If your log file reaches 2 gig again before the end of the month, we will need to look at rotating your log files more often than they currently are."

    In the end, I just want to have my stats saved as nice and tidy HTML files so I can look them over in the future. I'd prefer weekly stats if possible. I don't want to download my logs. I'd prefer to have them on the server.

    Any suggestions?
    <///////~

    www.sohh.com

  2. #2
    pg for mild peril cow's Avatar
    Join Date
    Mar 2000
    Location
    nevada, usa
    Posts
    636
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    by default, your log files are raw text files. programs like http-analyze read those raw text files and spit out more readable html files.

    i don't know the exact steps (each server is different), but you can change it so your server automatically writes a new access log file for each week. you should contact the server administrator for further assistance...
    "There's no justice like angry mob justice!" --Seymour Skinner

  3. #3
    pg for mild peril cow's Avatar
    Join Date
    Mar 2000
    Location
    nevada, usa
    Posts
    636
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally posted by cow
    by default, your log files are raw text files. programs like http-analyze read those raw text files and spit out more readable html files.

    i don't know the exact steps (each server is different), but you can change it so your server automatically writes to a new access log file for each week. you should contact the server administrator for further assistance...
    whoops, clicked the wrong button
    "There's no justice like angry mob justice!" --Seymour Skinner


Bookmarks

Posting Permissions

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