Fixed serial logging for graphing