type

LogMod

const class LogMod : WebMod

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

See pod doc

constructors

make

Constructor with it-block.

fields

dir

Directory used to store log file(s).

fields

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

filename

Log filename pattern.

methods

Slot Details

dir

const File dir := noDir

Directory used to store log file(s).

fields

const Str fields := ...

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

filename

const Str filename := ""

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

make

new make(|This|? f := null)

Constructor with it-block.

onService

virtual override Void onService()

onStop

virtual override Void onStop()