rgrep.1 -C 2 -F '[error]' web.log
print lines matching a pattern
    -C NUM, -NUM, --context=NUM
           Print NUM lines of output context.  Places a  line  containing  a  group  separator  (--)  between
           contiguous  groups  of  matches.   With the -o or --only-matching option, this has no effect and a
           warning is given.

File and Directory Selection
    -a, --text
           Process a binary file as if it were text; this is equivalent to the --binary-files=text option.
-F, --fixed-strings
       Interpret  PATTERN  as  a  list  of  fixed  strings,  separated by newlines, any of which is to be
       matched.  (-F is specified by POSIX.)
source manpages: rgrep