final for log upload