It will not set a trouble code. If it is the problem, eventually, it will leak bad enough that the low oil pressure light/or gauge will indicate low oil pressure. The computer sees an oil pressure reading, so as far as it is concerned, everything is good.
Before you replace it, confirm that is where the leak is coming from.
Let me know what you find or if you have other questions. It is 8:44 here now. I should be on for a couple hours.
Take care,
Joe
Friday, September 21st, 2018 AT 5:45 PM