Attack on a military base and police training centre comes a day after an assault in Logar province that killed eight.