parse.php.msgs: Parses PHP mesages and store its parts in a data frame that...

Description Usage Arguments Value Examples

Description

Parses PHP mesages and store its parts in a data frame that contains level, message, file, line number and referer.

Usage

1
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

1
2
3
4
5
6
7
#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)

ApacheLogProcessor documentation built on May 2, 2019, 7:55 a.m.