Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Error/Bug
  4. Wie Log-Files länger aufbewahren

NEWS

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    23
    1
    1.3k

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    9.3k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    14
    1
    2.5k

Wie Log-Files länger aufbewahren

Geplant Angeheftet Gesperrt Verschoben Error/Bug
6 Beiträge 4 Kommentatoren 1.5k Aufrufe
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • R Offline
    R Offline
    rwaechter
    schrieb am zuletzt editiert von
    #1

    Hallo an alle,

    wie kann ich die Log-Files unter opt/iobroker/log länger als eine Woche aufbewahren bzw. nicht rollieren lassen?

    Danke für eine Antwort.

    1 Antwort Letzte Antwort
    0
    • BluefoxB Offline
      BluefoxB Offline
      Bluefox
      schrieb am zuletzt editiert von
      #2

      In der Datei /opt/iobroker/iobroker-data/iobroker.json

      gibt es Einstellungen für log:

      "log": {
              "level": "info",
              "maxDays": 7,
              "noStdout": true,
              "transport": {
                  "file1": {
                     "type": "file",
                     "enabled": true,
                     "filename": "log/iobroker",
                     "fileext": ".log",
                     "maxsize":  null,
                     "maxFiles": null
                  },
                  "syslog1": {
                      "type":                 "syslog",
                      "enabled":              false,
      
                      "host":                 "localhost",
                      "host_comment":         "The host running syslogd, defaults to localhost.",
      
                      "port_comment":         "The port on the host that syslog is running on, defaults to syslogd's default port(514/UDP).",
      
                      "protocol":             "udp4",
                      "protocol_comment":     "The network protocol to log over (e.g. tcp4, udp4, unix, unix-connect, etc).",
      
                      "path_comment":         "The path to the syslog dgram socket (i.e. /dev/log or /var/run/syslog for OS X).",
                      "facility_comment":     "Syslog facility to use (Default: local0).",
                      "localhost":            "iobroker",
                      "localhost_comment":    "Host to indicate that log messages are coming from (Default: localhost).",
                      "sysLogType_comment":   "The type of the syslog protocol to use (Default: BSD).",
                      "app_name_comment":     "The name of the application (Default: process.title).",
                      "eol_comment":          "The end of line character to be added to the end of the message (Default: Message without modifications)."
                  }
              }
          },
      

      "maxDays": 7,

      Ist das was du suchst.

      Die Änderungen sind nach restart wirksam.

      1 Antwort Letzte Antwort
      0
      • DutchmanD Offline
        DutchmanD Offline
        Dutchman
        Developer Most Active Administrators
        schrieb am zuletzt editiert von
        #3

        Wie waere die idee log in SQL speichern?

        Sent from my iPhone using Tapatalk

        1 Antwort Letzte Antwort
        0
        • BluefoxB Offline
          BluefoxB Offline
          Bluefox
          schrieb am zuletzt editiert von
          #4

          @Dutchman:

          Wie waere die idee log in SQL speichern?

          Sent from my iPhone using Tapatalk `
          Mach es :)

          1 Antwort Letzte Antwort
          0
          • R Offline
            R Offline
            rwaechter
            schrieb am zuletzt editiert von
            #5

            Hallo Bluefox,

            super! Danke für die schnelle Antwort.

            1 Antwort Letzte Antwort
            0
            • ScroungerS Offline
              ScroungerS Offline
              Scrounger
              Developer
              schrieb am zuletzt editiert von
              #6

              Ist es auch möglich, dass die vollen 7 Tage im WebGui unter Logs angezeigt werden?

              1 Antwort Letzte Antwort
              0
              Antworten
              • In einem neuen Thema antworten
              Anmelden zum Antworten
              • Älteste zuerst
              • Neuste zuerst
              • Meiste Stimmen


              Support us

              ioBroker
              Community Adapters
              Donate

              739

              Online

              32.5k

              Benutzer

              81.7k

              Themen

              1.3m

              Beiträge
              Community
              Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
              ioBroker Community 2014-2025
              logo
              • Anmelden

              • Du hast noch kein Konto? Registrieren

              • Anmelden oder registrieren, um zu suchen
              • Erster Beitrag
                Letzter Beitrag
              0
              • Home
              • Aktuell
              • Tags
              • Ungelesen 0
              • Kategorien
              • Unreplied
              • Beliebt
              • GitHub
              • Docu
              • Hilfe