Windows 7 log cap setting and management

  
        The importance of the log has been deeply rooted in the hearts of the people. But as time goes on, the space occupied by the entire event log is constantly expanding. To do this, you need to set a maximum upper limit for the log file to prevent it from taking up too much hard disk space. This is not only a waste, but also a certain obstacle to reading. And different log files have different importance. To this end, the system administrator should determine the maximum upper limit of each log file and the principle of log coverage based on the importance of the log file, hard disk space, and deployed applications.

system administrator can set up each log file maximum hard disk space occupied, respectively. The setting method is very simple, just select the corresponding log file, then right click, then select Properties, the dialog box above will pop up. Then you can see an option called the maximum size of the log. You can enter the maximum limit for the log file in the text box that follows. When setting this upper limit, you should pay attention to two aspects.

First, the digital input here must be a multiple of 64. As entered above, 20480, which is 320 times 64. If the number we enter here is not a multiple of 64, if the input is 20481, the system will prompt an error message: "The log size value must be 64KB in increments and must be greater than zero. The log size will be set to the minimum multiple of 64KB" . After pressing OK, this value will be automatically changed to the nearest 64 times. If the author enters 20416 and presses OK, the value will automatically change to 20416. This restriction system administrator needs to draw some attention.

Secondly, the log file is not the better. Although the log file is large, all event information can be recorded. However, it will also bring trouble to future reading. Finding what you need in a large number of records is not an easy task. Moreover, the log occupies too much system disk space, which also affects the performance of the operating system. For this reason, there is a reasonable limit on the size of this log space. But how much this is appropriate, there is no uniform standard. It is often necessary for the system administrator to determine the appropriate size of the log file based on his own experience and in conjunction with the specific application deployed on the operating system. In general, however, the space occupied by the log space on the system disk should not exceed 5%.

Copyright © Windows knowledge All Rights Reserved