We are developing a custom claims provider. In order to aid in debugging I write to a log file. I have little experience with SharePoint but I found and follow several different guides. Essentially, I create a WSP (with a Farm-level feature) and deploy it with PowerShell:
Add-SPSolution C:\temp\OurCCP.wsp
Install-SPSolution OurCCP.wsp -GACDeployment
And when I test it and spot issues, I make changes. I thus need to retract the solution.
Uninstall-SPSolution OurCCP.wsp
Remove-SPSolution OurCCP.wsp
Then I redeploy as above, except sometimes I change the log information and even the log filename itself.
All of this goes off without errors being thrown; however, when I redeploy I notice that multiple logs are being written to and that old log messages are being written. It appears there are ghost versions of our claims provider which cannot be eliminated. How can this be rectified?