Windows 7 Xml log format is much more convenient

  

It is said that the windows xp operating system records all the moves in the background in obscurity every day, which is equivalent to the loyal historian & ldquo; stylus writing spring and autumn, then the WIn7 system log file is in Where? How to open? For example, I want to see the computer boot and shutdown records, how to view? Control Panel\\All Control Panel Items\\Performance Information and Tools\\Advanced Tools, view performance details in the event log. It is understood that in Windows In several versions of the operating system, the system log can be saved as a text file, a CSV file, etc., to facilitate system administrators to query. However, unlike the XP operating system version, in Windows 7, its log is saved as one more format, the Xml format. As shown in the following figure, in addition to the three formats of the XP operating system, there is an additional XML file format in Windows 7. This format is also a log format that many system administrators expect. Because of this log format, it can bring great convenience to our daily management.

system log format
a convenience: easy to read and query.

The biggest difference between Xml format files and other files is that Xml files are structured data. In general, when saving records, some special formatting control symbols are used to ensure that the stored data meets the needs of the structure. So how does this structured data help system administrators? The most direct help is that the system administrator can easily import the Xml file data into the database for analysis. System administrators often need months or even years of log information analysis to find information that improves operating system performance and vulnerabilities. But for these massive amounts of data, it is difficult to draw a reasonable conclusion without resorting to specialized analytical tools such as databases. To this end, system administrators often need to import these log records into the database system, and then compare them vertically and horizontally, and finally come up with some feasible conclusions.

Now, if you use the Xml format to save log information, then the system administrator can easily import these log information into the database. You can import files in XML format directly into the database system without any adjustments. Since the XML file can be opened directly by a tool such as a browser, this browser is often an application software necessary for the operating system. So its view will be very convenient.

Convenience 2: High compatibility

Another advantage of XML files is that their compatibility is relatively high. Now mainstream database software basically supports XML files. In other words, system administrators can not only use Microsoft SQL Server database software, but also use non-Microsoft database software such as Oracle to import log information and then analyze it. Often, most system administrators don't like to use SQL Server databases because they are relatively complex and cumbersome to install. Furthermore, statistical analysis of log records, using a large database system such as SQL Server is also a bit of a small use. For this reason, system administrators including the author prefer to use a small database system such as MySQL for analysis. Not only because it's free, it's mainly small and convenient, and it doesn't take up a lot of hard disk space. Now, in the Windows 7 operating system, files in XML format have been released to store log records, so our system administrators have more reason to adopt small databases such as MySQL. Because MySQL support for XML files is very powerful. Moreover, the database can also save the relevant statistical results in the format of an XML file.

Additional XML compatibility is also reflected in the compatibility of different operating system platforms. Like event files, this is a file format provided by the Microsoft operating system and cannot be opened on operating systems such as Linux. Another example is a text file, although it can be opened on the Linux operating system. However, there is usually a confusion in the format that affects the normal reading of the system administrator. Unless the system administrator uses some of the tools that come with the system to convert. But this is not the case with files in XML format. The XML file looks like a web page. It looks like it opens under the Windows operating system, so it looks like this on the Linux operating system. Not only will the format not be messed up, but there is no need to use other additional aids. Therefore, compatibility on this different operating system platform can improve the sharing of employee data. As far as I know, many companies may use the Windows system on the client side and the non-Microsoft operating system on the server side. This trend is now more and more obvious. Therefore, it is also necessary to improve the compatibility of this multi-operating system. Even if you save the log files in a file server on the Linux operating system, you don't have to worry about any problems.

Convenience 3: Unified management of log files can be implemented

In the enterprise, not only the operating system generates log files. Other application systems also generate relevant log files. Log files are also generated, such as database systems, ERP systems, financial management software, and the like. When there are many enterprise application servers, the distributed management log files are not only inefficient, but also easily lead to the omission of key information. To this end, it is a good solution to manage the log files generated by each system and service through a unified log server platform. But to achieve this goal, the biggest obstacle is that the log file format generated by each system is not compatible. If the Oracle database system, the Windows operating system, etc. all store log files in their respective formats, then different tools are needed to open these log files for query, which is very inconvenient to handle. And if these applications support log files in XML format, then it will be very convenient. Previous12Next page Total 2 pages

Copyright © Windows knowledge All Rights Reserved