28 Nopember 2010 18:31
In the Appfabric Caching service configuration you have "dataCacheConfig" element and inside it you have a "log" element. There's no information on what the log element should have in it self or whats the possible configuration?
Im guessing this is to log information on Cache Host side and thats what im after right now. However, no idea how to configure it.
I've tried: <log location="C:\Windows\System32\AppFabric\test.log" logLevel="Error" />
29 Nopember 2010 14:31
We don't typically support making changes directly to the service configuration file unless it is for work arounds or one-off support scenarios. However, it sounds like your goal is to provide more verbose logging on the cache host. You can do this. See the event tracing for windows section of the whitepaper on deployment and management: http://msdn.microsoft.com/en-us/library/ff921010.aspx. Also see this blog entry on the AppFabric Customer Advisory Team blog: http://blogs.msdn.com/b/appfabriccat/archive/2010/09/20/appfabric-cache-peeking-into-client-amp-server-wcf-communication.aspx.
30 Nopember 2010 0:53That was what i was looking for indeed. Thanks.
27 Maret 2012 16:27
The other thing which you can do is to enable normal WCF logging in DistributedCacheService.exe.config like below and you will see the SOAP requests/response coming in from clients and going out from server.<system.serviceModel>
<!--WCF Performance Counters Switch-->
<messageLogging logEntireMessage="true" logMalformedMessages="true" logMessagesAtServiceLevel="true" logMessagesAtTransportLevel="true" maxMessagesToLog="50000" maxSizeOfMessageToLog="2000">
<add name="PumaWCFListener" type="System.Diagnostics.XmlWriterTraceListener" initializeData="C:\Logs\AppFabric.svclog" />
MCTS BTS 2006/ASP.net 2.0