fix sidebar to properly display log level and line number