Source error path

Topics: Logging Application Block
Mar 27, 2008 at 3:31 PM
I am using the Logging application block in my apps; whenever I log an error the source is correctly identified, as is the source file where the code lives.The only issue is that the path shown is typically the path on my local development machine.

For example if the error is from line 15 in the SendOrders.cs file in the project solution; when this application is moved to production and the error is generated the path for the source of the error is still:

C:\Documents and Settings\Name\My Documents\Visual Studio 2005\Projects\SendOrders\SendOrder.cs: line 15.

How can this be avoided; rather than the path can it just show the source file itself or the library where the file lives

Is this possible?