Instance ids for logging

Adding ids to the logs to identify different instances