My question is somehow related to this question, but it is a different issue.
I have used
log4net in an Event DLL; I have written custom events for publish and save events, but I don't get logs for both, only one of them works, depending on how I install
In development server, I get logs for Publish events if I register
log4net using gacutil, or logs for Save events if I drag and drop the dll to Windows\assembly folder, but never both of them.
In production server, I only get logs for publish events, no matter what I do.
Save event logs are far more important for the user to be stored, so production is working the wrong way. Ideal case would be having both logs, but having only save logs would be ok.
I guess it has something to do with .NET Framework versions and GAC but I don't really get how it works. Can anyone help or point me in the right direction?