Added dynamic setting of logs.