![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Industry Role:
Join Date: Mar 2002
Posts: 7,245
|
![]() I always used ".txt" files to log data for scripts, The only problem is that ".txt" files don't hold enough data, is there a different file type I can use that allows more data to be stored?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Jan 2002
Location: In the walls of your house.
Posts: 3,985
|
What platform are you on? How much data are you trying to store? The file extension really shouldn't affect the amount of data a file a capable of holding. The limitation might be in your file system.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Jul 2002
Location: Australia
Posts: 121
|
Probably not the best idea to let log files just grow and grow, but to instead use some sort of reporting system on the log which will cycle the logs and then extract and compress the data which is useful. In the case of Apache logs, something like webalizer will scan the log, pull out the data you need for a month, save it in it's own format (which has a huge size difference to straight text) and then truncate the original log file, ready to build up again.
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |