Convert sysout to log