change sysout to log debug