Added log message to code that records the slice id.