Sane logging with papertrail

So in our papertrail logs, each event is associated with an container ID. Is there a way to access this container id from within the container/app?