const virtual class webmod::LogMod

sys::Obj
  web::WebMod
    webmod::LogMod

Source

LogMod is used log requests according to the W3C extended log file format.

See pod doc

dir

const File dir := noDir

Source

Directory used to store log file(s).

fields

const Str fields := ...

Source

Format of the log records as a string of #Fields names. See pod doc

filename

const Str filename := ""

Source

Log filename pattern. The name may contain a pattern between {} using the pattern format of sys::DateTime.toLocale. For example to maintain a log file per month, use a filename such as "web-{YYYY-MM}.log".

make

new make(Func<Void,This>? f := null)

Source

Constructor with it-block.

onService

virtual override Void onService()

Source

onStop

virtual override Void onStop()

Source