Skip to content
Discussion options

You must be logged in to vote

Offenbar ist bei dir Docker so konfiguriert, dass journald für das Logging benutzt wird. Ich schlage der Einfachheit vor, SOLECTRUS für json-Dateien zu konfigurieren, das lässt sich einfacher in der Größe beschränken. Und darum geht es eigentlich nur, dass nämlich die Logs von SOLECTRUS nicht unlimitiert wachsen.

Ergänze dazu in der compose.yaml jeweils eine Zeile driver: json-file, also so:

logging:
  driver: json-file
  options:
    max-size: 10m
    max-file: '3'

Den Konfigurator habe ich gerade angepasst, sodass er immer json-file generiert.

Solltest es einen triftigen Grund geben, dass jnournald für die Docker-Logs genutzt wird, kannst du auch die Logging-Optionen entfernen. Die Logs…

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
4 replies
@landopietsch
Comment options

@ledermann
Comment options

@landopietsch
Comment options

@ledermann
Comment options

Answer selected by landopietsch
Comment options

You must be logged in to vote
1 reply
@ledermann
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants