Filelogs - Gehe zum Ende

Begonnen von PeterS, 02 Februar 2014, 15:08:54

Vorheriges Thema - Nächstes Thema

PeterS

Hallo Zusammen
Beim Lesen von filelogs müssen diese bis zum Ende durchgescrollt werden, da man ja sich ja meistens die letzten Einträge ansehen möchte.
Auf dem PC funktioniert das Scrollen ja noch flott.  Auf mobilen Endgeräten ist dies aber beschwerlich und nervig.
Hier wäre eine Schaltfläche "Gehe zum Log-Ende" eine mobile Wohltat.

Gruss Peter

justme1968

schau dir mal das reverseLogs attribut an.

gruss
  andre
hue, tradfri, alexa-fhem, homebridge-fhem, LightScene, readingsGroup, ...

https://github.com/sponsors/justme-1968

PeterS

Hallo Andre

Dieses Attribut bezieht sich auf Plots und kann auf standard Logs wie z.B. fhem-JJJJ-MM.log nicht angewendet werden.

Oder hbe ich da was überlesen ?

Gruss Peter

justme1968

das hat mit den plots nichts zu tun.

ZitatreverseLogs
Display the lines from the logfile in a reversed order, newest on the top, so that you dont have to scroll down to look at the latest entries. Note: enabling this attribute will prevent FHEMWEB from streaming logfiles, resulting in a considerably increased memory consumption (about 6 times the size of the file on the disk).

gruss
  andre
hue, tradfri, alexa-fhem, homebridge-fhem, LightScene, readingsGroup, ...

https://github.com/sponsors/justme-1968

ph1959de

reverseLogs ist laut commandRef ein Attribut von FHEMWEB und wirkt auf die Anzeige von Log Files über das Webinterface (gerade ausprobiert).  Wo willst Du gefunden haben, dass sich das Attribut auf Plots bezieht?

Gruß, Peter
Aktives Mitglied des FHEM e.V. | Moderator im Forenbereich "Wiki"

PeterS

Hallo Zusammen

Stimmt, die Attrubute:
attr WEB reverseLogs
attr WEBphone reverseLogs
attr WEBtablet reverseLogs
funktionieren und gelten für alle Logs.

Sorry, mein Fehler. Danke für die Unterstützung.

Gruss Peter

lapidu

Super hat geklappt.
Kann man das Datumformat auch ändern?

Puschel74

Hallo,

ZitatKann man das Datumformat auch ändern?
In den Logfiles?

Sollte gehen indem du in Perl fit bist und ggf. die fhem.pl umprogrammierst.
Dann dürften aber die Plots nicht mehr funktionieren und du müsstest den Rest in FHEM auch umprogrammieren.

Sonst würde ich auf die Schnelle sagen - nein geht nicht.

Grüsse
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.