Function: apache-log-generic-mode

apache-log-generic-mode is an interactive and byte-compiled function defined in generic-x.el.gz.

Signature

(apache-log-generic-mode)

Documentation

Generic mode for Apache log files.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/generic-x.el.gz
(define-generic-mode apache-log-generic-mode
  nil
  nil
  ;; Hostname ? user date request return-code number-of-bytes
  '(("^\\([-a-zA-Z0-9.]+\\) - [-A-Za-z]+ \\(\\[.*\\]\\)"
     (1 font-lock-constant-face)
     (2 font-lock-variable-name-face)))
  '("access_log\\'")
  nil
  "Generic mode for Apache log files.")