parse.php.msgs {ApacheLogProcessor} | R Documentation |
Parses PHP mesages and store its parts in a data frame that contains level, message, file, line number and referer.
Description
Parses PHP mesages and store its parts in a data frame that contains level, message, file, line number and referer.
Usage
parse.php.msgs(dfErrorLog)
Arguments
dfErrorLog |
Error log load with the read.apache.error.log or read.multiple.apache.error.log functions. |
Value
a data frame with PHP error message split in parts.
Examples
#Loads the path of the erro log
path <- system.file("examples", "error_log.log", package = "ApacheLogProcessor")
#Loads the error log to a data frame
dfELog <- read.apache.error.log(path)
dfPHPMsgs <- parse.php.msgs(dfELog)
[Package ApacheLogProcessor version 0.2.3 Index]