Knife for File website log Log file cutting tool and log analysis tool

888u

Last update at :2024-07-08,Edit by888u

Whether we use a virtual host or a VPS host, especially the latter, we recommend turning on the log function when deploying the WEB panel or one-click package, because during the website operation process, the user's access status and spider crawling can be monitored. You can check it by taking the log. Although most users can only see an overview like a snail, you can still take a look.

There is a problem here. If the webmaster is more diligent, he may analyze the website's logs every day, and then clean up the logs of the day. In this way, there will not be many logs left. However, if we do not organize and maintain it, it may be very large when we look at the log. For example, we may see dozens of M or several G log files. Even if we download it locally, it is troublesome to open it with text, so we need to cut the log file and find the nearest part for analysis.

Originally, when writing this article, Snail wanted to prepare several familiar log cutting tools, but then I thought about it, why do I need so many? I just have one that can be used, so I randomly found this Knife for File tool. , it is okay to use and can be cut according to the set size.

First, use of Knife for File tool

Software download address: https://soft.laozuo.org/tools/Knife4File.zip

We can cut and integrate according to the selected files.

The files that can be cut and integrated are not limited to log files, but also include files in movie format. For file cutting, it includes simplified Chinese, traditional Chinese, English and Japanese languages. For example, here Snail needs to cut the log file into smaller sizes, and then open the document to view it manually, or use an analysis tool to view it.

Second, log analysis tools

We can analyze logs manually or use tools to view them. It is recommended to use 360 ​​Star Chart.

A. Download and install the software (http://wangzhan.360.cn/xingtu)

B. Configure the log path of the conf-config.ini file

C. We only need to put the corresponding name of the downloaded log into the local disk according to the above path (corresponding to the one set by ourselves), and then start and click start.bat to run to complete the analysis.

D. After the analysis is completed, we will see the analysis result HTML file in the results folder, and we can see the data when we open it.

In addition to this tool, there are many other log analysis tools, including a previous log analysis tool called Lightyear.

To summarize, our choice of tools is actually the same as our choice of VPS hosts. It doesn’t matter how many are available, as long as we can find one that suits us.

Recommended site search: Mainland China linux host, permanent free server address, telecom ip proxy, station group server, expired domain name, Zhenjiang high-defense server, station group server, free second-level domain name Hong Kong vps, free overseas server, < /p>

Knife for File website log Log file cutting tool and log analysis tool

All copyrights belong to 888u unless special state
取消
微信二维码
微信二维码
支付宝二维码