Fix log rotation for dev apis