Skip to content

Commit

Permalink
Removed file logger settings from docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
ossarga committed Apr 18, 2018
1 parent 3c0a1fa commit b854892
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 11 deletions.
4 changes: 1 addition & 3 deletions src/docs/content/docs/configuration/docker_vars.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,8 @@ The Docker environment variables listed in this section map directly to Reaper s
<code class="codeLarge">REAPER_JMX_AUTH_USERNAME</code> | [username]({{< relref "reaper_specific.md#username" >}}) |
<code class="codeLarge">REAPER_JMX_CONNECTION_TIMEOUT_IN_SECONDS</code> | [jmxConnectionTimeoutInSeconds]({{< relref "reaper_specific.md#jmxconnectiontimeoutinseconds" >}}) | 20
<code class="codeLarge">REAPER_JMX_PORTS</code> | [jmxPorts]({{< relref "reaper_specific.md#jmxports" >}}) | {}
<code class="codeLarge">REAPER_LOGGING_APPENDERS_LOG_FORMAT</code> | [logFormat]({{< relref "reaper_specific.md#logformat" >}}) | "%-6level [%d] [%t] %logger{5} - %msg %n"
<code class="codeLarge">REAPER_LOGGING_APPENDERS_CONSOLE_LOG_FORMAT</code> | [logFormat]({{< relref "reaper_specific.md#logformat" >}}) | "%-6level [%d] [%t] %logger{5} - %msg %n"
<code class="codeLarge">REAPER_LOGGING_APPENDERS_CONSOLE_THRESHOLD</code> | [threshold]({{< relref "reaper_specific.md#threshold" >}}) | WARN
<code class="codeLarge">REAPER_LOGGING_APPENDERS_FILE_LOG_FORMAT</code> | [logFormat]({{< relref "reaper_specific.md#logformat" >}}) | "%-6level [%t] %logger{5} - %msg %n"
<code class="codeLarge">REAPER_LOGGING_APPENDERS_FILE_ARCHIVED_FILE_COUNT</code> | [archivedFileCount]({{< relref "reaper_specific.md#archivedfilecount" >}}) | 99
<code class="codeLarge">REAPER_LOGGING_LOGGERS</code> | [loggers]({{< relref "reaper_specific.md#loggers" >}}) | {}
<code class="codeLarge">REAPER_LOGGING_ROOT_LEVEL</code> | [level]({{< relref "reaper_specific.md#level" >}}) | INFO
<code class="codeLarge">REAPER_METRICS_FREQUENCY</code> | [fequency]({{< relref "reaper_specific.md#fequency" >}}) | 1 minute
Expand Down
4 changes: 1 addition & 3 deletions src/server/src/main/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,7 @@ ENV REAPER_SEGMENT_COUNT=200 \
REAPER_LOGGING_ROOT_LEVEL=INFO \
REAPER_LOGGING_LOGGERS="{}" \
REAPER_LOGGING_APPENDERS_CONSOLE_LOG_FORMAT='"%-6level [%d] [%t] %logger{5} - %msg %n"' \
REAPER_LOGGING_APPENDERS_CONSOLE_THRESHOLD=WARN \
REAPER_LOGGING_APPENDERS_FILE_LOG_FORMAT='"%-6level [%t] %logger{5} - %msg %n"' \
REAPER_LOGGING_APPENDERS_FILE_ARCHIVED_FILE_COUNT=99 \
REAPER_LOGGING_APPENDERS_CONSOLE_THRESHOLD=INFO \
REAPER_SERVER_APP_PORT=8080 \
REAPER_SERVER_APP_BIND_HOST="0.0.0.0" \
REAPER_SERVER_ADMIN_PORT=8081 \
Expand Down
5 changes: 0 additions & 5 deletions src/server/src/main/docker/cassandra-reaper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,6 @@ logging:
- type: console
logFormat: ${REAPER_LOGGING_APPENDERS_CONSOLE_LOG_FORMAT}
threshold: ${REAPER_LOGGING_APPENDERS_CONSOLE_THRESHOLD}
- type: file
logFormat: ${REAPER_LOGGING_APPENDERS_FILE_LOG_FORMAT}
currentLogFilename: /var/log/cassandra-reaper/reaper.log
archivedLogFilenamePattern: /var/log/cassandra-reaper/reaper-%d.log.gz
archivedFileCount: ${REAPER_LOGGING_APPENDERS_FILE_ARCHIVED_FILE_COUNT}

server:
type: default
Expand Down

0 comments on commit b854892

Please sign in to comment.