log added to debug.