plug_accesslog v0.7.0 Release Notes

Release Date: 2015-07-19 // over 8 years ago
    • ✨ Enhancements

      • Allows passing custom formatters
      • Errors when open logfiles are logged as errors using Logger
      • Log writing is now handled by a GenEvent handler to avoid crashing
    • ➕ Additional formatting directives

      • %a - Remote IP-address
      • %D - Time taken to serve the request (microseconds)
      • %M - Time taken to serve the request (milliseconds)
      • %q - Query string (prepended with "?" or empty string)
      • %T - Time taken to serve the request (full seconds)
      • %V - Server name (canonical)
    • Backwards incompatible changes

      • Plug.AccessLog.Formatter has been renamed to Plug.AccessLog.DefaultFormatter