Skip to content

Commit

Permalink
Fix output issues in management commands caused by development log level
Browse files Browse the repository at this point in the history
  • Loading branch information
ellmetha committed Jul 18, 2024
1 parent f46bbf3 commit 02a6e80
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions docs/docs/development/reference/settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,6 @@ Default: `Log::Severity::Info`

The default log level used by the application. Any severity defined in the [`Log::Severity`](https://crystal-lang.org/api/Log/Severity.html) enum can be used.

The [development environment](../settings#environments) in new Marten projects is configured with the more verbose `Log::Severity::Debug` log level, as it provides valuable debugging information during development of the project.

### `middleware`

Default: `[] of Marten::Middleware.class`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,6 @@ Default: `Log::Severity::Info`

The default log level used by the application. Any severity defined in the [`Log::Severity`](https://crystal-lang.org/api/Log/Severity.html) enum can be used.

The [development environment](../settings#environments) in new Marten projects is configured with the more verbose `Log::Severity::Debug` log level, as it provides valuable debugging information during development of the project.

### `middleware`

Default: `[] of Marten::Middleware.class`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,4 @@ Marten.configure :development do |config|
# Print sent emails to the standard output in development.
# https://martenframework.com/docs/development/reference/settings#emailing-settings
config.emailing.backend = Marten::Emailing::Backend::Development.new(print_emails: true)

# More verbose log level in development.
# https://martenframework.com/docs/development/reference/settings#log_level
config.log_level = Log::Severity::Debug
end

0 comments on commit 02a6e80

Please sign in to comment.