v17 Previous line repeats means what exactly?
#1
Question 
I'm working on something that has some rather verbose debug logging and a bit of repetition to it.

But the kodi logs are freaking me out. It is constantly saying "Previous line repeats [x] times.". This sent me on a wild goose hunt trying to figure out why my code is executing [x] number of times than it's supposed to. I'm fairly certain that my code is not misbehaving.

So I'm not entirely clear what this message means. It doesn't seem like Kodi is hiding any log messages behind it. But if all it's saying is that the previous message repeated itself then *shrug*. Any way to turn it off?


Code:
12:41:08.896 T:139808248866560   DEBUG: [mlledctrl.bridge4] Sending command: c7 00
12:41:08.916 T:139808248866560   DEBUG: Previous line repeats 1 times.
12:41:08.916 T:139808248866560   DEBUG: [mlledctrl.bridge4] Sending command: 47 00
12:41:08.936 T:139808248866560   DEBUG: Previous line repeats 1 times.
12:41:08.936 T:139808248866560   DEBUG: [mlledctrl.bridge4] Sending command: c7 00
12:41:08.957 T:139808248866560   DEBUG: Previous line repeats 1 times.
12:41:08.957 T:139808248866560   DEBUG: [mlledctrl.bridge4] Sending command: 4e 1b
12:41:08.977 T:139808248866560   DEBUG: Previous line repeats 1 times.
Reply
#2
That means that the privious line was there twice. It is not usefull if line repeats only once, but if it repeats 100 times, it can save space.... in the log. So if you want all instances of some log, you have to include some changing counter i.e. timestamp.
Reply

Logout Mark Read Team Forum Stats Members Help
Previous line repeats means what exactly?0