Logging statements' prediction based on source code clones

Sina Gholamian, Paul A. S. Ward · 2020

Log files are widely used to record runtime information of software systems, such as the time-stamp of an event, the unique ID of the source of the log, and a part of the state of task execution. The rich information of logs enables system operators to monitor the runtime behaviors of their systems and further track down system problems in production settings. Although logs are useful, there exists a trade-off between their benefit and cost, and it is a crucial problem to optimize the location and content of log messages in the source code, i.e., "where and what to log?"

Read the paper · More papers on PaperTik