1. growing demand for storage space
Every TYPO3 installation has a limited amount of storage space, regardless of whether it is web space or your own server. In the customer menu of the provider, there is usually an option to call up the already used or free storage space.
However, the need for storage space increases not only with the addition of new content to the website (especially images and multimedia content) but also with log files.
On the one hand, there are the log files created by the web server: depending on the configuration, these are deleted after a few weeks or stored for an unlimited period of time.
In general, log files should be archived before deletion (e.g. on an external medium) so that the data can be accessed again if required.
TYPO3 itself also offers the option of creating log files, e.g. for the creation of statistics with AWSTATS.
In contrast to the server's log files, however, only one line per page access is saved here (the server saves accesses to all files). However, the TYPO3 log file can reach a considerable size over time. However, the maximum file size on most systems is 2 GB, after which no further data is logged.
It would make sense, for example, to save the previous year's entries in a separate file at the beginning of the year and start fresh again. On the Unix shell, this could look like this at the beginning of 2007, for example:
# Extract and pack the data from 2007:
egrep "/2007:" logfile.log > 2007.log | gzip
# Extract the data from the beginning of 2008:
egrep "/2008:" logile.log > 2008.log
# Copy 2008.log to the 'new' file logfile.log:
cp 2008.log logfile.log
This page contains automatically translated content.