Skip to content

Releases: mneudert/plug_accesslog

v0.15.0

12 Jul 11:09
b646f88
Compare
Choose a tag to compare
  • Enhancements

    • Protocol for %r is now logged as reported by Plug.Conn.get_http_protocol/1
    • System environment configuration can set an optional default value to be used if the environment variable is unset
  • Backwards incompatible changes

    • Minimum required elixir version is now ~> 1.7

v0.14.0

25 Nov 18:58
c230b6e
Compare
Choose a tag to compare
  • Additional formatting directives

    • %{VARNAME}e - Environment variable contents
  • Backwards incompatible changes

    • All modules of the DefaultFormatter have been changed to not append to a passed message anymore but return iodata. The public method has been renamed from append to format to reflect this change.

v0.13.0

13 Jul 18:29
Compare
Choose a tag to compare
  • Backwards incompatible changes
    • Minimum required elixir version is now ~> 1.3
    • Minimum required version of :timex raised to ~> 3.0

v0.12.0

25 Jun 13:53
Compare
Choose a tag to compare
  • Backwards incompatible changes
    • Minimum required elixir version is now ~> 1.2
    • Minimum required erlang version is now ~> 18.0

v0.11.0

25 Mar 19:07
Compare
Choose a tag to compare
  • Enhancements

    • Logfiles can be configured using system environment variables
    • Logs are written in batches to the output file (configurable, default 100ms)
  • Backwards incompatible changes

    • :local_time is now internally stored as a Timex.DateTime struct
    • Minimum required version of :timex raised to ~> 2.0 (#12)

v0.10.0

06 Jan 12:47
Compare
Choose a tag to compare
  • Additional formatting directives

    • %P - The process ID that serviced the request
    • %{UNIT}T - Time taken to serve the request in the given UNIT
  • Backwards incompatible changes

    • Minimum required version of :timex raised to ~> 1.0

v0.9.1

29 Sep 19:18
Compare
Choose a tag to compare
  • Enhancements

    • Application :tzdata (for recent :timex/:tzdata versions) is started automatically
  • Backwards incompatible changes

    • Minimum required version of :timex raised to ~> 0.19
    • Minimum required version of :tzdata raised to => 0.5.1

v0.9.0

15 Aug 14:57
Compare
Choose a tag to compare
  • Backwards incompatible changes
    • Minimum required version of :plug raised to ~> 1.0

v0.8.0

08 Aug 14:47
Compare
Choose a tag to compare
  • Backwards incompatible changes
    • Minimum required version of :plug raised to ~> 0.14

v0.7.0

19 Jul 17:16
Compare
Choose a tag to compare
  • 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