FHEM Forum

FHEM => Anfängerfragen => Thema gestartet von: Beagel am 11 Februar 2016, 14:02:00

Titel: fhem log wird zugemüllt
Beitrag von: Beagel am 11 Februar 2016, 14:02:00
Hallo zusammen,
hab jetzt festgestellt das sich die fhemlog zumüllt, kann leider nicht mehr genau feststellen was die Ursache war.
Angefangen hat hier:
Zitat2016.01.18 22:08:27 1: Including fhem.cfg
2016.01.18 22:08:27 3: telnetPort: port 7072 opened
2016.01.18 22:08:27 3: WEB: port 8083 opened
2016.01.18 22:08:27 3: WEBphone: port 8084 opened
2016.01.18 22:08:27 3: WEBtablet: port 8085 opened
2016.01.18 22:08:27 2: eventTypes: loaded 111 events from ./log/eventTypes.txt
2016.01.18 22:08:28 3: Opening Solar device 192.168.178.40:7053
2016.01.18 22:08:28 3: Solar device opened
2016.01.18 22:08:28 3: VBUSDEV_2251: I/O device is Solar
2016.01.18 22:08:29 3: Opening pilight device localhost:5000
2016.01.18 22:08:29 3: pilight device opened
2016.01.18 22:08:31 2: fronthem: ipc listener opened at port 16434
2016.01.18 22:08:32 2: FRITZBOX FB7390: Define.243 Modul functionality limited because of missing perl modules: Net::Telnet
2016.01.18 22:08:32 1: Including ./log/fhem.save
2016.01.18 22:08:33 1: in REREADCFG
2016.01.18 22:08:33 1: in REREADCFG
2016.01.18 22:08:33 1: in FILEWRITE
2016.01.18 22:08:33 1: in FILEWRITE
2016.01.18 22:08:34 3: ipc fronthem:127.0.0.1:54915 (ws): ws alive with pid 30326
2016.01.18 22:09:02 1: in DEFINED
2016.01.18 22:09:02 1: in DEFINED
2016.01.18 22:09:32 1: in DELETED
2016.01.18 22:09:32 1: in DELETED
2016.01.18 22:09:32 1: in DEFINED
2016.01.18 22:09:32 1: in DEFINED
2016.01.18 22:10:02 1: in DELETED
2016.01.18 22:10:02 1: in DELETED
2016.01.18 22:10:02 1: in DEFINED
2016.01.18 22:10:02 1: in DEFINED
2016.01.18 22:10:32 1: in DELETED
2016.01.18 22:10:32 1: in DELETED
2016.01.18 22:10:32 1: in DEFINED
2016.01.18 22:10:32 1: in DEFINED
2016.01.18 22:11:02 1: in DELETED
2016.01.18 22:11:02 1: in DELETED
2016.01.18 22:11:02 1: in DEFINED
2016.01.18 22:11:02 1: in DEFINED
2016.01.18 22:11:32 1: in DELETED
2016.01.18 22:11:32 1: in DELETED
2016.01.18 22:11:32 1: in DEFINED
2016.01.18 22:11:32 1: in DEFINED
2016.01.18 22:12:02 1: in DELETED
2016.01.18 22:12:02 1: in DELETED
2016.01.18 22:12:02 1: in DEFINED
2016.01.18 22:12:02 1: in DEFINED
2016.01.18 22:12:32 1: in DELETED
2016.01.18 22:12:32 1: in DELETED
2016.01.18 22:12:33 1: in DEFINED
2016.01.18 22:12:33 1: in DEFINED
2016.01.18 22:13:02 1: in DELETED
2016.01.18 22:13:02 1: in DELETED
2016.01.18 22:13:02 1: in DEFINED
2016.01.18 22:13:02 1: in DEFINED
2016.01.18 22:13:32 1: in DELETED
2016.01.18 22:13:32 1: in DELETED
2016.01.18 22:13:32 1: in DEFINED
2016.01.18 22:13:32 1: in DEFINED
2016.01.18 22:14:02 1: in DELETED
2016.01.18 22:14:02 1: in DELETED
2016.01.18 22:14:02 1: in DEFINED
und das ist ein Auszug von heute

Zitat2016.02.11 13:02:36 1: in DELETED
2016.02.11 13:02:36 1: in DEFINED
2016.02.11 13:02:36 1: in DEFINED
2016.02.11 13:03:35 3: HourCounter Gasverbrauchday Undef.272 Done
2016.02.11 13:03:35 3: HourCounter Gasverbrauch Undef.272 Done
2016.02.11 13:03:35 1: Gaszaehler: entfernt
2016.02.11 13:03:35 1: Including fhem.cfg
2016.02.11 13:03:35 3: telnetPort: port 7072 opened
2016.02.11 13:03:35 3: WEB: port 8083 opened
2016.02.11 13:03:35 3: WEBphone: port 8084 opened
2016.02.11 13:03:35 3: WEBtablet: port 8085 opened
2016.02.11 13:03:36 2: eventTypes: loaded 129 events from ./log/eventTypes.txt
2016.02.11 13:03:36 3: Opening Solar device 192.168.178.40:7053
2016.02.11 13:03:36 3: Solar device opened
2016.02.11 13:03:36 3: VBUSDEV_2251: I/O device is Solar
2016.02.11 13:03:37 3: Opening pilight device localhost:5000
2016.02.11 13:03:37 3: pilight device opened
2016.02.11 13:03:38 2: fronthem: ipc listener opened at port 16393
2016.02.11 13:03:39 2: FRITZBOX FB7390: Define.243 Modul functionality limited because of missing perl modules: Net::Telnet
2016.02.11 13:03:45 1: Can't open file: Gaszaehler, active_low
2016.02.11 13:03:45 0: HourCounter Gasverbrauch Define.228 parameters: Gasverbrauch HourCounter Gaszaehler:on Gaszaehler:off
2016.02.11 13:03:45 0: HourCounter Gasverbrauchday Define.228 parameters: Gasverbrauchday HourCounter Gaszaehler:on Gaszaehler:off
2016.02.11 13:03:45 1: PERL WARNING: Odd number of elements in anonymous hash at (eval 1174623) line 1, <$fh> line 305.
2016.02.11 13:03:45 1: Including ./log/fhem.save
2016.02.11 13:03:46 1: in REREADCFG
2016.02.11 13:03:46 1: in REREADCFG
2016.02.11 13:03:46 1: in FILEWRITE
2016.02.11 13:03:46 1: in FILEWRITE
2016.02.11 13:03:47 3: [ZufallsTimerTisch] ERROR: Undefined subroutine &main::isVerreist called at (eval 1174628) line 1.  EVALUATING (!isVerreist())
2016.02.11 13:03:47 3: [ZufallsTimerTisch] ERROR: Undefined subroutine &main::isVerreist called at (eval 1174630) line 1.  EVALUATING (!isVerreist())
2016.02.11 13:03:48 3: ipc fronthem:127.0.0.1:41681 (ws): ws alive with pid 11500
2016.02.11 13:04:00 0: HourCounter Gasverbrauch Run.598 first run done countsOverall:130098
2016.02.11 13:04:00 1: in DELETED
2016.02.11 13:04:00 1: in DELETED
2016.02.11 13:04:00 1: in DEFINED
2016.02.11 13:04:00 1: in DEFINED
2016.02.11 13:04:00 0: HourCounter Gasverbrauchday Run.598 first run done countsOverall:14503
2016.02.11 13:04:47 1: in DELETED
2016.02.11 13:04:47 1: in DELETED
2016.02.11 13:04:47 1: in DEFINED
2016.02.11 13:04:47 1: in DEFINED
2016.02.11 13:04:47 1: in DELETED
2016.02.11 13:04:47 1: in DELETED
2016.02.11 13:04:47 1: in DEFINED
2016.02.11 13:04:48 1: in DEFINED
2016.02.11 13:04:48 1: in DELETED
2016.02.11 13:04:48 1: in DELETED
2016.02.11 13:04:48 1: in DEFINED
2016.02.11 13:04:48 1: in DEFINED
2016.02.11 13:04:48 1: in DELETED
2016.02.11 13:04:48 1: in DELETED
2016.02.11 13:04:49 1: in DEFINED

bin von fhem begeistert aber blutiger Anfänger suche, mir, das für mich Interesante raus und  versuche es auf meine Bedürfnisse anzupassen.

Hoffe jemand hat eine Idee.

Gruß Dieter
Titel: Antw:fhem log wird zugemüllt
Beitrag von: Wernieman am 11 Februar 2016, 14:25:12
Auf was ist bei Dir der Loglevel eingestellt?

list global
dort bei "verbose" gucken.
Titel: Antw:fhem log wird zugemüllt
Beitrag von: LuckyDay am 11 Februar 2016, 14:33:03
Setzt du zufällig das Paket Fronthem bei dir ein?
Titel: Antw:fhem log wird zugemüllt
Beitrag von: herrmannj am 11 Februar 2016, 14:44:33
ja das kommt daher.

Ist eine vergessene debug Ausgabe.

fronthem.pm line 154
fronthemDevice.pm line 325

bitte auskommentieren (ein '#' davor setzen).

vg
joerg
Titel: Antw:fhem log wird zugemüllt
Beitrag von: Otto123 am 11 Februar 2016, 14:52:17
Hallo Dieter,

falls Du auch Linux "Anfänger" bist und falls das Logfile mal zu voll ist, man kann es ziemlich gut aufräumen (http://heinz-otto.blogspot.de/2015/08/hilfe-mein-log-file-lauft-uber.html)

Gruß Otto
Titel: Antw:fhem log wird zugemüllt
Beitrag von: Beagel am 11 Februar 2016, 18:18:13
Danke für die Hilfe,

#Otto
Ja, Linux und Fhem "Anfänger"

Hab auch mal mit Fronthem probiert und jetzt alles entfernt was meiner Meinung damit zutun hat,
scheint jetzt Ruhe zusein.
Dafür kommen jetzt noch einige andere Meldungen:
ZitatPERL WARNING: Use of uninitialized value $missingModulWeb in concatenation (.) or string at ./FHEM/72_FRITZBOX.pm line 242, <$fh> line 183.
FRITZBOX FB7390: Define.243 Modul functionality limited because of missing perl modules: Net::Telnet 
PERL WARNING: Odd number of elements in anonymous hash at (eval 7319) line 1, <$fh> line 280.

Vielleicht könnt ihr mir da auch weiter Helfen.

Gruß Dieter

Titel: Antw:fhem log wird zugemüllt
Beitrag von: Wernieman am 12 Februar 2016, 09:00:28
Du hast einen RasPi? D.h. debian basierte Distri?

apt-get install libnet-telnet-perl
Titel: Antw:fhem log wird zugemüllt
Beitrag von: Beagel am 12 Februar 2016, 20:27:11
Das wars,

Danke

Gruß Dieter