Posts: 68
Joined: Jul 2017
Reputation:
1
In my development environment I use Kodi with Debian GNU/Linux and start it from bash. But all messages (notice, debug) are written into the kodi.log.
Is there a way to redirect the output to stdout?
tail -f kodi.log doesn't work because the file is recreated sometimes and tail stop in that situations.
Posts: 122
Joined: Jan 2015
Reputation:
15
File is only rectreated on app launch afaik, i generally use tailing to trace kodi.
U can use logging module python and tedirect it to some file if that helps, stdout, err of python is redirected to kodi.log dont think u have much to do wit it,, and i dont need you should also, would be over engineering.
Posts: 19,982
Joined: May 2009
Reputation:
451
nickr
Retired Team-Kodi Member
Posts: 19,982
tail -F follows recreated files
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)