win7 using Xml format to save the log of the four convenient (2)

  
to facilitate Three: can achieve unified management

log file in the enterprise, not only the operating system will generate a log file. 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.

Windows7 operating system since Microsoft introduced a log file in XML format, the author is now working on a project. It is to implement the same software to manage the Windows 7 operating system, Oracle database system and other log files of application services that support XML log files. In fact, the principle is very simple, is to automatically transfer the log files generated by these systems to a log server, and then the database will automatically import these log files into the database server. And use the database triggers and other tools to do some analysis, automatic warning and so on. This can reduce the time it takes for the system administrator to view related logs from time to time, reducing the workload of the system administrator.

so Microsoft introduced the use of log files in XML format, which makes the unified management of the operating system and other non-Microsoft products, log files have the possibility to achieve. Because the XML format is a structured data file, there are many vendors that support it. However, the XML format file has been out for a long time, and should be before the XP operating system. Why is this technology not implemented on the XP operating system? I am confused about this. However, in Windows7, I finally hoped for everyone. It’s better to be late than never.

convenience Four: For supporting WEB is better

Sometimes system administrators often a person is not able to complete the analysis related to logging. It is necessary to complete the relevant log analysis work with the database administrator or other application software owners. This is mainly caused by the continuous refinement of the division of system management personnel. There are a lot of project management software now, all based on WEB. If you combine log files with these WEB project management software, this will greatly help the system administrator's work.

In addition to these features, do not need to note is that the compression of the XML file is better. Because the content of the system log is often more, if you want to save the complete log information, you often need to occupy more hard disk space. And if you use XML format files, you can often use less hard disk space than other files. This is mainly because the compression of XML files is better. Because in the XML file, the mark describing the data structure can be reused, the hard disk space can be reduced by the high compression ratio.
Copyright © Windows knowledge All Rights Reserved