-
Notifications
You must be signed in to change notification settings - Fork 34
Allow overriding max parameter length from the default of 500 #26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -20,7 +20,7 @@ The support policy is to support the last 2 major versions of Erlang and the thr | |
|
|
||
| ```elixir | ||
| def deps do | ||
| [{:plug_logger_json, "~> 0.6.0"}] | ||
| [{:plug_logger_json, "~> 0.7.0"}] | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you remove this from the PR? We'll update this when we are ready to publish a new version. |
||
| end | ||
| ``` | ||
|
|
||
|
|
@@ -49,6 +49,14 @@ config :plug_logger_json, | |
| suppressed_keys: ["api_version", "log_type"] | ||
| ``` | ||
|
|
||
| The request parameters are truncated to a max length of 500 characters by default. This can be overridden by setting the `param_max_length` option. | ||
|
|
||
| ```elixir | ||
| config :plug_logger_json, | ||
| param_max_length: 5000 | ||
| ``` | ||
|
|
||
|
|
||
| ### Configure the logger (console) | ||
|
|
||
| In your `config/config.exs` or `config/env_name.exs`: | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -19,7 +19,7 @@ defmodule PlugLoggerJson.Mixfile do | |
| source_url: "https://github.com/bleacherreport/plug_logger_json", | ||
| start_permanent: Mix.env == :prod, | ||
| test_coverage: [tool: ExCoveralls], | ||
| version: "0.6.0", | ||
| version: "0.7.0", | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you remove this from the PR? We'll update this when we are ready to publish a new version. |
||
| ] | ||
| end | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you remove this from the PR? We'll update this when we are ready to publish a new version.