Prevent empty blank line 1 in log buffer