logo

const class

webapp::LogStep

sys::Obj
  web::WebStep
    webapp::WebAppStep
      webapp::LogStep

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

See docLib::WebApp

Slots

fields

const Str fields := "date time c-ip cs-method cs-uri-stem cs-uri-query sc-status time-taken cs(User-Agent) cs(Referer)"

Format of the log records as a string of #Fields names. See docLib::WebApp

Source

file

const File file

Output log file.

Source

onAfterService

override Void onAfterService(WebReq req, WebRes res)

Callback after we've serviced the request.

Source

onBeforeService

override Void onBeforeService(WebReq req, WebRes res)

Callback before we begin servicing the request.

Source

onStart

override Void onStart(WebService service)

Callback when WebService is started.

Source

onStop

override Void onStop(WebService service)

Callback when WebService is stopped.

Source