Logging method and system optimization
2011
The present invention relates to the technical field application log. More particularly, the present invention relates in particular to optimize the application by any original log method and refilling method and system applications. According to one aspect of the invention, there is provided a method of optimizing the application for logging, comprising: identifying the original log application method; the string parameter in the original log method is divided into the constant part and the variable part ; establishing a corresponding relationship between the identifier of the constant part and the variable portion; using the constant part, and the correspondence between the variable part identifier configured log optimization method; the code by injection, to replace the original log method is the application of the said optimized log method. By the above method, the amount of hard disk storage can be reduced, and the operating frequency of the IO logging.
Keywords:
- Correction
- Source
- Cite
- Save
- Machine Reading By IdeaReader
0
References
0
Citations
NaN
KQI