Home // VALID 2013, The Fifth International Conference on Advances in System Testing and Validation Lifecycle // View article
Authors:
Wishnu Prasetya
Ales Sturala
Arie Middelkoop
Jurriaan Hage
Alexander Elyasov
Keywords: logging; logging; software tracing; tracing
Abstract:
Logging is a commonly employed technique to gather information about the dynamic behaviour of a program. The resulting logs can be analysed to derive statistics, infer models, to diagnose failures, and used for testing. Balancing the cost of logging (in terms of I/O time and disk usage) and the benefits of increasing logging details is a challenging task. In this paper, we present a source code transformation scheme that converts the given program with ordinary logging to enhance it with tracing information, and at the same time significantly reduces the size of the generated logs by applying a form of binary encoding. Decoders are generated to interpret the logs and establish how the executions that produced them flowed through relevant decision branches in the program. This is a very useful property when we use the logs for error diagnosis. This paper describes the transformation for sizeable subset of sequential Java, including its complicated control structures. As a proof of concept, we have implemented a prototype.
Pages: 66 to 76
Copyright: Copyright (c) IARIA, 2013
Publication date: October 27, 2013
Published in: conference
ISSN: 2308-4316
ISBN: 978-1-61208-307-0
Location: Venice, Italy
Dates: from October 27, 2013 to October 31, 2013