logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://anongit.hacktivis.me/git/pleroma.git/

logger_metadata_path.ex (324B)


  1. # Pleroma: A lightweight social networking server
  2. # Copyright © 2017-2022 Pleroma Authors <https://pleroma.social/>
  3. # SPDX-License-Identifier: AGPL-3.0-only
  4. defmodule Pleroma.Web.Plugs.LoggerMetadataPath do
  5. def init(opts), do: opts
  6. def call(conn, _) do
  7. Logger.metadata(path: conn.request_path)
  8. conn
  9. end
  10. end