[Plesk 11 - End user] How to view and manage a website's logs in Plesk

Parallels Plesk Panel 11 end-user series

How to view and manage a website's logs in Plesk

All connections to the web server and requests for files that were not found on the server are registered in log files. These log files are analyzed by the statistics programs running on the server, which then present graphical reports on demand.

1) Go to the websites & domains tab.
http://myhosting.com/kb/admin/media_store/2/AA-04842/scene02_1.png

You may want to download these log files to your computer for processing by third-party statistics programs or view their contents for web server debugging purposes.

2) Click logs.
http://myhosting.com/kb/admin/media_store/2/AA-04842/scene04_1.png

3) Click the corresponding view link.
http://myhosting.com/kb/admin/media_store/2/AA-04842/scene05_1.png

Depending on your site, these log files can be very large.

4) If you want to view only the last few lines of a file, enter the number here.
http://myhosting.com/kb/admin/media_store/2/AA-04842/scene06_1.png

5) Now select a log file.
http://myhosting.com/kb/admin/media_store/2/AA-04842/scene07_1.png

And here we see the last 10 lines from the access_log file.
http://myhosting.com/kb/admin/media_store/2/AA-04842/scene08_1.png

To prevent log files from growing too large, you should enable automatic cleanup and recycling.

6) You can do this using log rotation.
http://myhosting.com/kb/admin/media_store/2/AA-04842/scene09_1.png

7) Set the rotation to occur by size or time.
http://myhosting.com/kb/admin/media_store/2/AA-04842/scene10_1.png

8) Set the maximum number of log files.

http://myhosting.com/kb/admin/media_store/2/AA-04842/scene10_1.png

9) Enter an e-mail address to receive processed log files.
http://myhosting.com/kb/admin/media_store/2/AA-04842/scene11_1.png

10) Click ok.
http://myhosting.com/kb/admin/media_store/2/AA-04842/scene13_1.png

11) To download a log file, click this icon.
http://myhosting.com/kb/admin/media_store/2/AA-04842/scene14_1.png

That's it! Now you know how to manage log files in Plesk.

 

Was this article helpful?
0 out of 0 found this helpful