Enhance shared-resource logging

Signed-off-by: MHesham <mhesham.fcis@gmail.com>