[Solved]Filelog regex issue

Begonnen von fruit, 28 April 2015, 10:22:17

Vorheriges Thema - Nächstes Thema

fruit

Sorry, I am not sure where to post this so please move to wherever appropriate

I have had a Filelog entry running successfully for some time but it stopped logging yesterday morning (27.04.2015) after updates
The define was..
define FileLog_Energy_M FileLog ./log/Energy-%Y-%m.log Daily_Diff_Electric:.*|Daily_Diff_Gas:.*|Daily_Electric:.*|Daily_Gas:.*|Electric:.*|Gas:.*

I haven't been able to find anything relevant in the forum. Changing to
define FileLog_Energy_M FileLog ./log/Energy-%Y-%m.log .*Gas:.*|.*Electric:.*

has restated logging.
Has anything changed? Is there a max number of regex terms?
Feel free to follow up in German if you prefer

scooty

Fhem auf Gigabyte Brix
CUL V3 HM / CUL V3 MAX / MaxCube aFW Homematic&MAX / ZWave.me ZME_UZB1 / SDuino 433 / Velux KLF200
Homematic / MAX / Logitech Hub / ZWave / Wifi LED / div. 433 Temperatursensoren / pywws WH10880 / IO Homecontrol

fruit

#2
Thanks for the links, I've been out all day so sorry for the late reply.
I'll look at them more closely tomorrow - too late to try and interpret google translate tonight ;)
At least I'm getting logs for now.

Edit:Sorted, and for the benefit of others..
the multiple regex string has to be enclosed in brackets - as I used to do before the wizard
Feel free to follow up in German if you prefer

rudolfkoenig

I fixed the problem by reverting the patch.

fruit

Thanks - I think I'll leave the brackets, if nothing else it makes reading my backup .cfg easier
Feel free to follow up in German if you prefer