![]() |
Logfile data limits
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?
|
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.
|
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. :thumbsup
|
All times are GMT -7. The time now is 09:25 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123