add log for prev and next months