Open GoogleCodeExporter opened 9 years ago
This is also a little like:
- Case 31
- Case 50
Original comment by mich...@mbwarez.dk
on 25 May 2012 at 10:59
I found the issue - I think.
I tried the proposed solution from Case 50, which was using the SqlErrorLog. I
however, was using XmlFileErrorLog. I checked the source, and the difference
between the constructors of the two, is this:
//
// Set the application name as this implementation provides
// per-application isolation over a single store.
//
string appName = Mask.NullString((string) config["applicationName"]);
if (appName.Length > _maxAppNameLength)
{
throw new ApplicationException(string.Format(
"Application name is too long. Maximum length allowed is {0} characters.",
_maxAppNameLength.ToString("N0")));
}
ApplicationName = appName;
Maybe this should be added to the XmlFileErrorLog too?
Or perhaps the application name shouldn't be set pr. logger, but pr.
application in stead?
Original comment by mich...@mbwarez.dk
on 25 May 2012 at 11:11
Original issue reported on code.google.com by
mich...@mbwarez.dk
on 25 May 2012 at 10:58