Added log when inserting resource