.Net trace is full of CommerceServer output
Windows Server Forum Index Windows Server
Server discussion on Windows platform.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winserverhelp.com
.Net trace is full of CommerceServer output

 
Post new topic   Reply to topic    Windows Server Forum Index -> Commerce Server
Author Message
Guest






Posted: Tue Nov 08, 2005 9:51 pm    Post subject: .Net trace is full of CommerceServer output Reply with quote

I have mentionned this problem earlier in this very newsgroup, but I
still have not found a full solution for it.

My problem is that my standard .NET trace stream (flat files) is filled
with Commerce Server messages like below.

This is very disturbing as the log gets hundreds of MB big very
quickly.

Any idea where this could come from ?

Sample content :

CommerceCatalog: CatalogContext.InitCatalogManager - starting
CommerceCatalog: CatalogContext.InitCatalogManager - completed
CommerceCatalog: CatalogContext.GetCatalog: starting
CommerceCatalog: CatalogContext.(Get)Languages starting
CommerceCatalog: CatalogContext.(Get)Languages completed
CommerceCatalog: CatalogContext.(Set)ActiveLanguage starting
CommerceCatalog: CatalogContext.(Set)ActiveLanguage completed
CommerceCatalog: CatalogContext.GetCatalog: completed
CommerceCatalog: ProductCatalog.GetProduct - starting
CommerceCatalog: ProductCatalog.GetProduct - Completed
CommerceCatalog: Product.GetProductProperties() starting
CommerceCatalog: Product.GetProductProperties() completed

We are building an ASP.NET (1.1) application over Commerce Server 2002
SP3, running on Windows 2000 SP4/SQL Server 2000 SP4.

The application is in Release mode.

The web.config file contains the following segments :

<compilation
defaultLanguage="c#"
debug="false"
/>


<application siteName="oursite" />


<cache name="Discounts" type="Discounts" refreshInterval="0"
retryInterval="0" />
<cache name="Advertising" type="Advertising" refreshInterval="10"
retryInterval="10" />
<cache name="SampleRegionalTaxCache" type="Tax" refreshInterval="0"
retryInterval="30" />
<cache name="ShippingManagerCache" type="Shipping"
loaderProgId="Commerce.ShippingManagerCache"
refreshInterval="0" retryInterval="30" />
<cache name="QueryCatalogInfoCache" type="QCI"
loaderProgId="Commerce.LRUCacheFlush" refreshInterval="0"
retryInterval="300" maxSize="10000">
<config key="TableName" value="CatalogCache_Virtual_Directory" />
</cache>


<pipeline name="product" path="PATHTOPIPELINE" transacted="false"
type="OrderPipeline"
loggingEnabled="false" />

<system.diagnostics>

<trace autoflush="true" indentsize="4">

<listeners>
...
Back to top
Jeff Lynch
Guest





Posted: Wed Nov 09, 2005 1:50 am    Post subject: Re: .Net trace is full of CommerceServer output Reply with quote

Look for the <trace> element under the <system.web> element in your
Web.config file. Add the enabled="false" and pageOutput="false" attributes
to this, run "iisreset" from a command prompt and this should prevent the
page level trace (I think).
--
Jeff Lynch
http://codebetter.com/blogs/jeff.lynch
Back to top
 
Post new topic   Reply to topic    Windows Server Forum Index -> Commerce Server All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




New Topics Powered by phpBB