If I use the silverlight 2 logging moodule, the MachineName field of the LogEntryData instnace is always null. Code location: SilverlightLogging assembly Orpius.Logging namespace, Log class, method:
void WriteLogEntryAux(LogLevel logLevel,
ExceptionMemento memento =
if (exception !=
memento = CreateMemento(exception);
LogEntryData entry =
LogLevel = logLevel,
Message = message,
ExceptionMemento = memento,
CodeLocation = GetLocation(),
LogName = Name,
ThreadName = Thread.CurrentThread.Name,
ManagedThreadId = Thread.CurrentThread.ManagedThreadId,
Url = pageUri.ToString(),
OccuredAt = DateTime.Now,
Properties = properties,
ClientInfo info =
info.LogName = entry.LogName;
info.MachineName = entry.MachineName;
info.Url = entry.Url;
info.UserName = entry.UserName;
I know that in Silverlight2 Environment.MachineName is missing, however the web application on server side could get the client machine name, calling user and so on...
Please note that entry.UserName is also always null. Am I missing something?
Dec 20, 2008 at 10:14 AM
I'm working on a new version, and will try and address the issues you raised. If you find any more please place them in the issue tracker.
I'm sorry for the delay in responding to you.
Thanks for you message.