Home >Topics >Pagoda Panel >Teach you how to use the Pagoda panel to view and analyze website logs and regularly segment website logs

Teach you how to use the Pagoda panel to view and analyze website logs and regularly segment website logs

藏色散人
藏色散人forward
2020-07-18 14:08:037432browse

The following tutorial column of Pagoda Installation will introduce to you how to use the Pagoda panel to view and analyze website logs and regularly segment website logs. I hope it will be helpful to friends in need!

Teach you how to use the Pagoda panel to view and analyze website logs and regularly segment website logs

VPS Primary school students wanted to change a wave of friend links on a whim a few days ago. As a result, I looked at the data of the free VPS sharing blog and found that it was very unsatisfactory. The reason was except for the occasional In addition to the silent care from colleagues, the VPS primary school students also wanted to see if there were any other problems with the website, so they planned to read the website logs. I also learned some knowledge during this process, which I would like to share with you.

View the website log of Pagoda panel

Teach you how to use the Pagoda panel to view and analyze website logs and regularly segment website logs

View the website log of Pagoda panel

Use To view website logs in the Pagoda Panel, select "File" on the left side of the home page of the Pagoda Panel, and then select the wwwlogs folder under the www folder in the breadcrumb navigation. You can see the website logs here. The website domain name-access_log is the log file. After downloading the file, just change _log to .log.

It should be noted that, like most visual panels, website logs are 1G in size by default, so friends who use other panels such as AMH or WDCP sometimes find that the disk space is much less because of automatic generation There are too many 1G log files. When VPS primary school students view the log file for the first time, the log file is also 1G. It is very troublesome to download and analyze. Fortunately, the Pagoda panel has the function of automatically dividing website logs.

Pagoda panel regularly splits website log

Teach you how to use the Pagoda panel to view and analyze website logs and regularly segment website logs

Pagoda panel log cutting

at Select "Scheduled Tasks" on the left side of the backend homepage of the Pagoda Panel. Select Log Cutting here as the task type. You can select the execution cycle and the number of backup copies. For general websites, the default once a week is enough. If the website traffic is relatively large, the execution cycle can be selected every day. After selecting, click "Add Task" to the set time point, and the Pagoda Panel will automatically cut the log. This will avoid the problem of the website log file being too large and the website log file taking up disk space.

View and analyze website logs

Although website log files can be opened with Notepad, generally you still use auxiliary tools to view website logs, VPS primary school students I prefer to use the online website log viewing tool loghao

Teach you how to use the Pagoda panel to view and analyze website logs and regularly segment website logs

Use loghao to view website logs

loghao is popular mainly because it can be used by opening a web page, which is more convenient. Other website log viewing tools that are more commonly used are "Lightyear Log Analysis Tool" and "Love Station Toolkit". They are all free, and their functions are not much different. You can just choose what you are used to.

The above is the detailed content of Teach you how to use the Pagoda panel to view and analyze website logs and regularly segment website logs. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:vpsxxs. If there is any infringement, please contact admin@php.cn delete