FHEM Forum

FHEM - Hausautomations-Systeme => Homematic => Thema gestartet von: Loki am 07 Januar 2020, 14:16:00

Titel: [erledigt] RPC-Server schreibt log voll trotz verbose 0
Beitrag von: Loki am 07 Januar 2020, 14:16:00
Moin!

Ich habe seit kurzem das Problem, dass mein RPC-Server im Sekundentakt ins Log schreibt.
Auszug:
2020.01.07 14:12:57 5: HMCCURPCPROC: [d_rpc178020BidCos_RF : 2158] RPC server CB2001178200178020 accepting connections
2020.01.07 14:12:58 5: HMCCURPCPROC: [d_rpc178020BidCos_RF : 2158] RPC server CB2001178200178020 accepting connections
2020.01.07 14:12:59 5: HMCCURPCPROC: [d_rpc178020BidCos_RF : 2158] RPC server CB2001178200178020 accepting connections
2020.01.07 14:13:00 5: HMCCURPCPROC: [d_rpc178020BidCos_RF : 2158] RPC server CB2001178200178020 accepting connections
2020.01.07 14:13:01 5: HMCCURPCPROC: [d_rpc178020BidCos_RF : 2158] RPC server CB2001178200178020 accepting connections
2020.01.07 14:13:02 5: HMCCURPCPROC: [d_rpc178020BidCos_RF : 2158] RPC server CB2001178200178020 accepting connections
2020.01.07 14:13:03 5: HMCCURPCPROC: [d_rpc178020BidCos_RF : 2158] RPC server CB2001178200178020 accepting connections
2020.01.07 14:13:04 5: HMCCURPCPROC: [d_rpc178020BidCos_RF : 2158] RPC server CB2001178200178020 accepting connections
2020.01.07 14:13:05 5: HMCCURPCPROC: [d_rpc178020BidCos_RF : 2158] RPC server CB2001178200178020 accepting connections
2020.01.07 14:13:06 5: HMCCURPCPROC: [d_rpc178020BidCos_RF : 2158] RPC server CB2001178200178020 accepting connections
2020.01.07 14:13:07 5: HMCCURPCPROC: [d_rpc178020BidCos_RF : 2158] RPC server CB2001178200178020 accepting connections
2020.01.07 14:13:08 5: HMCCURPCPROC: [d_rpc178020BidCos_RF : 2158] RPC server CB2001178200178020 accepting connections
2020.01.07 14:13:09 5: HMCCURPCPROC: [d_rpc178020BidCos_RF : 2158] RPC server CB2001178200178020 accepting connections
2020.01.07 14:13:10 5: HMCCURPCPROC: [d_rpc178020BidCos_RF : 2158] RPC server CB2001178200178020 accepting connections
2020.01.07 14:13:11 5: HMCCURPCPROC: [d_rpc178020BidCos_RF : 2158] RPC server CB2001178200178020 accepting connections
2020.01.07 14:13:12 5: HMCCURPCPROC: [d_rpc178020BidCos_RF : 2158] RPC server CB2001178200178020 accepting connections
2020.01.07 14:13:13 5: HMCCURPCPROC: [d_rpc178020BidCos_RF : 2158] RPC server CB2001178200178020 accepting connections
2020.01.07 14:13:14 5: HMCCURPCPROC: [d_rpc178020BidCos_RF : 2158] RPC server CB2001178200178020 accepting connections
2020.01.07 14:13:15 5: HMCCURPCPROC: [d_rpc178020BidCos_RF : 2158] RPC server CB2001178200178020 accepting connections
2020.01.07 14:13:16 5: HMCCURPCPROC: [d_rpc178020BidCos_RF : 2158] RPC server CB2001178200178020 accepting connections
2020.01.07 14:13:17 5: HMCCURPCPROC: [d_rpc178020BidCos_RF : 2158] RPC server CB2001178200178020 accepting connections
2020.01.07 14:13:18 5: HMCCURPCPROC: [d_rpc178020BidCos_RF : 2158] RPC server CB2001178200178020 accepting connections
2020.01.07 14:13:19 5: HMCCURPCPROC: [d_rpc178020BidCos_RF : 2158] RPC server CB2001178200178020 accepting connections
2020.01.07 14:13:20 5: HMCCURPCPROC: [d_rpc178020BidCos_RF : 2158] RPC server CB2001178200178020 accepting connections
2020.01.07 14:13:21 5: HMCCURPCPROC: [d_rpc178020BidCos_RF : 2158] RPC server CB2001178200178020 accepting connections
2020.01.07 14:13:22 4: HMCCURPCPROC: [d_rpc178020BidCos_RF : 2158] RPC server CB2001178200178020 processing request
2020.01.07 14:13:23 5: HMCCURPCPROC: [d_rpc178020BidCos_RF : 2158] RPC server CB2001178200178020 accepting connections
2020.01.07 14:13:24 5: HMCCURPCPROC: [d_rpc178020BidCos_RF : 2158] RPC server CB2001178200178020 accepting connections
2020.01.07 14:13:25 5: HMCCURPCPROC: [d_rpc178020BidCos_RF : 2158] RPC server CB2001178200178020 accepting connections
2020.01.07 14:13:26 5: HMCCURPCPROC: [d_rpc178020BidCos_RF : 2158] RPC server CB2001178200178020 accepting connections
2020.01.07 14:13:27 5: HMCCURPCPROC: [d_rpc178020BidCos_RF : 2158] RPC server CB2001178200178020 accepting connections
2020.01.07 14:13:28 5: HMCCURPCPROC: [d_rpc178020BidCos_RF : 2158] RPC server CB2001178200178020 accepting connections
2020.01.07 14:13:29 5: HMCCURPCPROC: [d_rpc178020BidCos_RF : 2158] RPC server CB2001178200178020 accepting connections
2020.01.07 14:13:30 5: HMCCURPCPROC: [d_rpc178020BidCos_RF : 2158] RPC server CB2001178200178020 accepting connections
2020.01.07 14:13:31 5: HMCCURPCPROC: [d_rpc178020BidCos_RF : 2158] RPC server CB2001178200178020 accepting connections
2020.01.07 14:13:32 5: HMCCURPCPROC: [d_rpc178020BidCos_RF : 2158] RPC server CB2001178200178020 accepting connections
2020.01.07 14:13:33 5: HMCCURPCPROC: [d_rpc178020BidCos_RF : 2158] RPC server CB2001178200178020 accepting connections
2020.01.07 14:13:34 5: HMCCURPCPROC: [d_rpc178020BidCos_RF : 2158] RPC server CB2001178200178020 accepting connections
2020.01.07 14:13:35 5: HMCCURPCPROC: [d_rpc178020BidCos_RF : 2158] RPC server CB2001178200178020 accepting connections
2020.01.07 14:13:36 5: HMCCURPCPROC: [d_rpc178020BidCos_RF : 2158] RPC server CB2001178200178020 accepting connections
2020.01.07 14:13:37 5: HMCCURPCPROC: [d_rpc178020BidCos_RF : 2158] RPC server CB2001178200178020 accepting connections
2020.01.07 14:13:38 5: HMCCURPCPROC: [d_rpc178020BidCos_RF : 2158] RPC server CB2001178200178020 accepting connections


Hier das Listing vom RPC:
Internals:
   CCUNum     1
   DEF        http://192.168.178.20 BidCos-RF
   FD         32
   FUUID      5de25a7c-f33f-a31c-0d5e-a89a732402e57b7d
   IODev      ccu2
   NAME       d_rpc178020BidCos_RF
   NR         951
   RPCPID     2158
   RPCState   running
   STATE      running/OK
   TYPE       HMCCURPCPROC
   ccuip      192.168.178.20
   ccustate   active
   ccutype    CCU2/3
   host       192.168.178.20
   prot       http
   rpcid      178200178020
   rpcinterface BidCos-RF
   rpcip      192.168.178.20
   rpcport    2001
   version    1.9
   READINGS:
     2020-01-06 21:08:18   rpcstate        running
     2020-01-06 21:08:18   state           OK
   hmccu:
     defaultaddr 192.168.178.200
     devspec    BidCos-RF
     evtime     0
     localaddr  192.168.178.200
     rpcstarttime 1578341298.23926
     rpc:
       avgdelay   0.0078183211605769
       cbport     7411
       cburl      http://192.168.178.200:7411/fh2001
       clkey      CB2001178200178020
       clurl      http://192.168.178.20:2001
       evtime     1578402881.35327
       pid        2158
       port       2001
       state      running
       sumdelay   19.8976273536682
       rec:
         DD         0
         EV         2545
         EX         0
         IN         0
         ND         59
         RA         0
         RD         0
         SL         1
         ST         5
         TO         0
         UD         0
       snd:
         DD         0
         EV         2440
         EX         0
         IN         0
         ND         59
         RA         0
         RD         0
         SL         1
         TO         0
         UD         0
Attributes:
   DbLogExclude .*
   alias      CCU RPC BidCos-RF
   eventMap   /rpcserver on:on/rpcserver off:off/
   icon       hm_ccu
   room       System
   stateFormat rpcstate/state
   verbose    0


Ich habe auch schon verbose von 0 auf 1 und wieder auf 0 gestellt. aber die Einträge kommen trotzdem.
Woran kann das noch liegen?
Titel: Antw:RPC-Server schreibt log voll trotz verbose 0
Beitrag von: zap am 07 Januar 2020, 15:06:21
Wenn Du verbose änderst, musst Du den RPC Server neu starten. Jeder RPC Server läuft in einem eigenen Prozess. Wenn dieser Prozess gestartet wird, klont Perl die aktuellen Einstellungen vom FHEM-Hauptprozess.

Soll heißen: Du änderst verbose im FHEM-Prozess, der RPC Prozess bekommt davon aber nichts mit.

Das gilt übrigens für alle Attribute von HMCCURPCPROC Devices., wobei nicht alle während der Laufzeit des RPC Servers tatsächlich eine Bedeutung haben.
Titel: Antw:RPC-Server schreibt log voll trotz verbose 0
Beitrag von: Loki am 07 Januar 2020, 15:28:10
Danke, das war es!