[gelöst] [yavdr-ansible] vdr log deaktivieren

  • Ahoi,

    ich würde gerne das Logging des VDRs ein wenig reduzieren, da ja doch eine Menge Nachrichten im journalctl auflaufen.

    Der Aufruf vdr --help verrät es ja schon wie man das Log Level einstellen kann:

    Code
      -l LEVEL, --log=LEVEL    set log level (default: 3)
                               0 = no logging, 1 = errors only,
                               2 = errors and info, 3 = errors, info and debug
                               if logging should be done to LOG_LOCALn instead of
                               LOG_USER, add '.n' to LEVEL, as in 3.7 (n=0..7)

    Aber wenn ich in /lib/systemd/system/vdr.service ExecStart ändere zu ExecStart=/usr/bin/vdr -l 0 und den Dienst neu starte, so steht im journalctl:

    Code
    Jan 07 09:23:26 satis systemd[1]: Starting Video Disk Recorder...
    Jan 07 09:23:26 satis vdr[2990]: vdr: no primary device found - using first device!
    Jan 07 09:23:26 satis systemd[1]: Started Video Disk Recorder.

    Wenn ich den Parameter wieder lösche klappt das einwandfrei.

    Woran kann das liegen?

  • Gsus January 7, 2023 at 9:25 AM

    Changed the title of the thread from “[yavdr-ansible] Log von vdr deaktiveren” to “[yavdr-ansible] vdr log deaktivieren”.
  • Die Startparameter holt sich der VDR aus den Dateien in /etc/vdr/conf.d/ - vgl. https://www.yavdr.org/documentation/…start-arguments - das klappt nur, solange er ohne Argumente gestartet wird.

    Meine VDRs

    VDR 1: Point of View Ion-330-1, 2x Sundtek MediaTV Pro (DVB-C), Atric IR-Einschalter Rev.5, Ubuntu 18.04 (yavdr-ansible)
    VDR 2: Acer Revo 3610, Pinnacle PCTV SAT 452e, Medion X10, yaVDR 0.6
    VDR 3: Intel DH67BL, Celeron 540, 4 GB Ram, POV Geforce GT 1030, Ubuntu 18.04 (yavdr-ansible), VDR 2.4.1, CIR-Empfänger
    Client 1: Raspberry Pi 2, Arch Linux ARM, VDR 2.3.8
    vdr-epg-daemon auf Cubietruck mit 32 GB SSD, Arch Linux ARM

    yaVDR-Dokumentation (Ceterum censeo enchiridia esse lectitanda.)

  • Gsus January 7, 2023 at 10:25 AM

    Changed the title of the thread from “[yavdr-ansible] vdr log deaktivieren” to “[gelöst] [yavdr-ansible] vdr log deaktivieren”.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!