发明名称 Method and computing device for recording log entries
摘要 A method, computing device and computer program product are provided to maintain a comprehensive record of log entries, even in an instance in which the recordation of log entries to the primary log temporarily fails. In the context of a method, one or more log entries are written to a primary log. The method also includes determining that writing a log entry to the primary log has failed and writing the log entry to a fallback log in an instance in which writing the log entry to the primary log has failed. The method further includes performing a restoration process. The restoration process includes determining whether the log entry written to the fallback log is able to be written to the primary log. If so, the restoration process writes one or more log entries written to the fallback log to the primary log. If not, the restoration process is repeated.
申请公布号 US9430338(B2) 申请公布日期 2016.08.30
申请号 US201414168632 申请日期 2014.01.30
申请人 McKesson Financial Holdings 发明人 Scanlon Ryan
分类号 G06F11/00;G06F11/14;G06F11/34 主分类号 G06F11/00
代理机构 Alston & Bird LLP 代理人 Alston & Bird LLP
主权项 1. A method of recording log entries comprising: writing one or more log entries to a primary log; determining that writing a log entry to the primary log has failed; writing the log entry to a fallback log in an instance in which writing the log entry to the primary log has failed; and performing, with a processor, a restoration process comprising: determining whether the log entry written to the fallback log is able to be written to the primary log by attempting to write the log entry written to the fallback log to the primary log;in an instance in which the log entry written to the fallback log is able to be written to the primary log, writing one or more log entries written to the fallback log to the primary log by executing a plurality of tasks to asynchronously write a plurality of log entries written to the fallback log to the primary log; andin an instance in which the log entry written to the fallback log is unable to be written to the primary log, repeating the restoration process.
地址 Hamilton BM