basic logging and supervisor