Fixed the log-prefix buffer - it was too small and the setup code lacked