loadLogfile function

Read in a httpcache log file

Read in a httpcache log file

loadLogfile(filename, scope = c("CACHE", "HTTP"))

Arguments

  • filename: character name of the log file, passed to utils::read.delim()
  • scope: character optional means of selecting only certain log messages. By default, only "CACHE" and "HTTP" log messages are kept. Other logged messages, such as "ERROR" messages from halt(), will be dropped from the resulting data.frame.

Returns

A data.frame of log results.