First You may configure your /etc/logrotate.conf, man logrotate for more information.
You can specify some infomations :
If you want to rotate log files weekly and keep 4 weeks worth of backlogs
weekly
rotate 4
After you can browse you log 4 weeks ago, using you favorite viewer, like awstat, tail -f ...
If a rotation is made, look into the configuration of the rotation. If a rotation is made every 4 days, that means that you will have to look on the archive made 4 days ago in order to read the period of time log.
You will find in the log directory tar.gz files (which are archives of the log)
like samba.1.tar.gz, samba.2.tar.gz
simply extract the file you want
print the file from the last line to the first one (the older the line is the more it will be printed close to the end):
have you tried the command "tac"? It cats files backwards.
First You may configure your /etc/logrotate.conf, man logrotate for more information. You can specify some infomations : If you want to rotate log files weekly and keep 4 weeks worth of backlogs
After you can browse you log 4 weeks ago, using you favorite viewer, like awstat, tail -f ...
Go to the end of the file and press the up arrow?
do you mean tail the logfile? use tail -f to monitor the logfile.
If a rotation is made, look into the configuration of the rotation. If a rotation is made every 4 days, that means that you will have to look on the archive made 4 days ago in order to read the period of time log.
You will find in the log directory tar.gz files (which are archives of the log) like samba.1.tar.gz, samba.2.tar.gz simply extract the file you want
and you will be able to read old logs.