support head or tail log