clear logs while server is stopped