logging in lighting controller, trying a different loop

Signed-off-by: Mloc-Argent <colmohici@gmail.com>