Skip to content

Commit

Permalink
Rool logger level is INFO by default (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
pilosus authored Jul 23, 2023
1 parent cbe1db5 commit 48bbcd7
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 6 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ file. This change log follows the conventions of

## [Unreleased]

## [1.0.82] - 2023-07-23

### Changed
- `SERVER__ROOTLEVEL` is `INFO` by default

## [1.0.81] - 2023-07-23

### Added
Expand Down Expand Up @@ -219,7 +224,8 @@ documentation website added. Project has made it to the version 1.0.0!
### Added
- Bot app MVP

[Unreleased]: https://github.com/pilosus/dienstplan/compare/1.0.81...HEAD
[Unreleased]: https://github.com/pilosus/dienstplan/compare/1.0.82...HEAD
[1.0.82]: https://github.com/pilosus/dienstplan/compare/1.0.81...1.0.82
[1.0.81]: https://github.com/pilosus/dienstplan/compare/1.0.0...1.0.81
[1.0.0]: https://github.com/pilosus/dienstplan/compare/0.5.0...1.0.0
[0.5.0]: https://github.com/pilosus/dienstplan/compare/0.4.0...0.5.0
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# dienstplan: slack duty rotations made easy

[![codecov](https://codecov.io/gh/pilosus/dienstplan/branch/main/graph/badge.svg?token=2ouqzEwhLc)](https://codecov.io/gh/pilosus/dienstplan)
[![Docker version](https://img.shields.io/docker/v/pilosus/dienstplan/1.0.81?logo=docker&label=Docker)](https://hub.docker.com/r/pilosus/dienstplan/tags)
[![Docker version](https://img.shields.io/docker/v/pilosus/dienstplan/1.0.82?logo=docker&label=Docker)](https://hub.docker.com/r/pilosus/dienstplan/tags)

Slack bot for duty rotations.

Expand Down
2 changes: 1 addition & 1 deletion docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ The app relies on the following environment variables (envs) to operate:
- `ALERTS__SENTRY_DSN` - Sentry [data source name](https://docs.sentry.io/product/sentry-basics/dsn-explainer/) [default `https://public:private@localhost/1`]
- `SERVER__PORT` [default `8080`] - Jetty application server port
- `SERVER__LOGLEVEL` [default `INFO`] - App log level (`dienstplan` logger only)
- `SERVER__ROOTLEVEL` [default `WARN`] - Root log level (all loggers, including DB, Jetty server, etc.)
- `SERVER__ROOTLEVEL` [default `INFO`] - Root log level (all loggers, including DB, Jetty server, etc.)
- `SERVER__ACCESS_LOG` [default `true`] - Enable access logging? Access logs have `INFO` level.
- `DB__SERVER_NAME` [default `localhost`] - PostgreSQL server host name
- `DB__PORT_NUMBER` [default `5432`] - PostgreSQL server port number
Expand Down
2 changes: 1 addition & 1 deletion resources/dienstplan/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ application:
server:
port: !envvar [SERVER__PORT, 8080]
loglevel: !envvar [SERVER__LOGLEVEL, "INFO"]
rootlevel: !envvar [SERVER__ROOTLEVEL, "WARN"]
rootlevel: !envvar [SERVER__ROOTLEVEL, "INFO"]
access-log: !envvar [SERVER__ACCESS_LOG, true]
block-thread: !envvar [SERVER__BLOCK_THREAD, true]

Expand Down
2 changes: 1 addition & 1 deletion resources/logback.json.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<appender-ref ref="STDOUT" />
</logger>

<root level="${SERVER__ROOTLEVEL:-WARN}">
<root level="${SERVER__ROOTLEVEL:-INFO}">
<appender-ref ref="STDOUT" />
</root>
</configuration>
2 changes: 1 addition & 1 deletion resources/logback.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<appender-ref ref="STDOUT" />
</logger>

<root level="${SERVER__ROOTLEVEL:-WARN}">
<root level="${SERVER__ROOTLEVEL:-INFO}">
<appender-ref ref="STDOUT" />
</root>
</configuration>

0 comments on commit 48bbcd7

Please sign in to comment.