added ledbat debug log