I am a regular poster, but I've created a new account for the purpose of this question. I've given out too much personal information under my other identity for me to feel comfortable with my anonymity in asking this question.
My pastor is my regular confessor. I recently found myself in an awkward situation (of my own making) because I had failed to do something that I had promised him I would do. Instead of admitting this, I lied to him about it. I'm currently working on fixing the situation, but I obviously need to go to confession. Is the fact that I lied to my pastor necessary detail that affects the gravity of the sin? Do I need to mention in confession that it was him I lied to, or just that I lied?