Both servlets now working and logging issues sorted.