科技报告详细信息
Grid Logging: Best Practices Guide
Tierney, Brian L ; Tierney, Brian L ; Gunter, Dan
Lawrence Berkeley National Laboratory
关键词: Java;    Recommendations;    Security Grid Logging;    42;    Diagnosis;   
DOI  :  10.2172/935326
RP-ID  :  LBNL-663E
RP-ID  :  DE-AC02-05CH11231
RP-ID  :  935326
美国|英语
来源: UNT Digital Library
PDF
【 摘 要 】

The purpose of this document is to help developers of Grid middleware and application software generate log files that will be useful to Grid administrators, users, developers and Grid middleware itself. Currently, most of the currently generated log files are only useful to the author of the program. Good logging practices are instrumental to performance analysis, problem diagnosis, and security auditing tasks such as incident tracing and damage assessment. This document does not discuss the issue of a logging API. It is assumed that a standard log API such as syslog (C), log4j (Java), or logger (Python) is being used. Other custom logging API or even printf could be used. The key point is that the logs must contain the required information in the required format. At a high level of abstraction, the best practices for Grid logging are: (1) Consistently structured, typed, log events; (2) A standard high-resolution timestamp; (3) Use of logging levels and categories to separate logs by detail and purpose; (4) Consistent use of global and local identifiers; and (5) Use of some regular, newline-delimited ASCII text format. The rest of this document describes each of these recommendations in detail.

【 预 览 】
附件列表
Files Size Format View
935326.pdf 188KB PDF download
  文献评价指标  
  下载次数:14次 浏览次数:50次