algorithm accesslog