uses 'logs' directory