Add trace logs.