add logback for spawned process. todo: 1st, test case. 2nd, seperate log message to error and info.