(gelöst) Browse von FHEM-Logfile via Webinterface

Begonnen von harry57, 03 Januar 2015, 17:01:33

Vorheriges Thema - Nächstes Thema

harry57

Hi,
gibt es eine Möglichkeit über das Webinterface (ohne FTP oder SFTP) das Fhem Logfile anzusehen ?

Wenn ja, bitte wie ??

Danke

Harry

LuckyDay

Mhmm , auf den Knopf "Logfile" drücken  :o
vielleicht

volschin

Intel NUC+Ubuntu 24.04+Docker+FHEM6
HomeMatic: HM-MOD-RPI-PCB+HM-USB-CFG2+hmland+diverse, HUE: Hue-Bridge, RaspBee+deCONZ+diverse
Amzn Dash-Buttons, Siro Rollos
4xRPi, 4xCO20, OWL+USB, HarmonyHub, FRITZ!Box 7690, Echo Dots+Show8, HomeBridge

Puschel74

Hallo,

es sollen ja schon auf wundersame Weise die fakelog-Einträge verschwunden sein.
Wäre ja nicht das erste Mal.

Wenn ein
list Logfile
in der Befehlszeile keinen Eintrag wie im Screenshot hervor bringt (die Logfiledefinitionen dürfen sich gerne unterscheiden)
solltest du ein
define Logfile FileLog <Pfad_zu_deinem_Logfile> fakelog
versuchen.

Dann sollte links Logfile stehen das du anklicken kannst.
Wenn nicht dann die Fehlermeldung hier posten.

Grüße
Zotac BI323 als Server mit DBLog
CUNO für FHT80B, 3 HM-Lan per vCCU, RasPi mit CUL433 für Somfy-Rollo (F2F), RasPi mit I2C(LM75) (F2F), RasPi für Panstamp+Vegetronix +SONOS(F2F)
Ich beantworte keine Supportanfragen per PM! Bitte im Forum suchen oder einen Beitrag erstellen.

harry57

Hallo Puschel74,
das hat was gebracht. Jetzt sehe ich die Logfiles zumindest bei den Filelog Einträgen. Links hab ich weiterhin keine Möglichkeit es auszuwählen.
Fehlermeldung gibts leider keine, ich kann nur das cfg anbieten, wenn das was bringt..Ist eine aktuelle Installation auf einem Raspi..


Danke !!





attr global userattr devStateIcon devStateStyle icon sortby webCmd widgetOverride
attr global autoload_undefined_devices 1
attr global logfile ./log/fhem-%Y-%m.log fakelog
attr global modpath .
attr global motd none
attr global statefile ./log/fhem.save
attr global uniqueID ./FHEM/FhemUtils/uniqueID
attr global verbose 3
define logfile FileLog ./log/fhem-%Y-%m.log fakelog








define telnetPort telnet 7072 global

define WEB FHEMWEB 8083 global
attr WEB stylesheetPrefix dark



define WEBphone FHEMWEB 8184 global
attr WEBphone HTTPS 1
attr WEBphone basicAuth xxxxxxxx=
attr WEBphone stylesheetPrefix smallscreen
define WEBtablet FHEMWEB 8185 global
attr WEBtablet HTTPS 1
attr WEBtablet basicAuth xxxxxxxxxxx=
attr WEBtablet stylesheetPrefix touchpad


# Fake FileLog entry, to access the fhem log from FHEMWEB

define autocreate autocreate
attr autocreate autosave 1
attr autocreate device_room %TYPE
attr autocreate filelog ./log/%NAME-%Y.log
attr autocreate weblink 1

franky08

shutdown restart gemacht!?

VG
Frank

P.s. Ein rereadcfg geht auch :)
Debian Bookworm auf HUNSN / Debian Bullseye auf 2.ter HUNSN F2F an 2x RaspiB
mit FHEM aktuell
22Zoll ViewSonic als Infodislay (WVC)
3xHMLAN mit vccu, raspmatic_rpi3, HMIP-HCU1

harry57

Hi,
ja.. ändert aber leider nichts ...


LG

Harry

LuckyDay

du hast eingefügt
Zitatdefine logfile FileLog ./log/fhem-%Y-%m.log fakelog


das hättest reinschreiben sollten
Zitatdefine Logfile FileLog ./log/fhem-%Y-%m.log fakelog


harry57

Hi, das war es. Danke fuer den tollen Support!!!!
LG
Harry57