added more web socket logging

This commit is contained in:
Luke Pulverenti 2013-05-22 16:36:00 -04:00
parent bdcc4f4a6c
commit 9abafd83eb

View File

@ -72,6 +72,10 @@ namespace MediaBrowser.Server.Implementations.Session
session.WebSockets = sockets;
}
else
{
_logger.Warn("Unable to determine session based on identity message: {0}", message.Data);
}
}
else if (string.Equals(message.MessageType, "Context", StringComparison.OrdinalIgnoreCase))
{
@ -86,6 +90,10 @@ namespace MediaBrowser.Server.Implementations.Session
session.NowViewingItemName = vals[2];
session.NowViewingContext = vals.Length > 3 ? vals[3] : null;
}
else
{
_logger.Warn("Unable to determine session based on context message: {0}", message.Data);
}
}
else if (string.Equals(message.MessageType, "PlaybackStart", StringComparison.OrdinalIgnoreCase))
{