Commerce Server General - .Net trace is full of CommerceServer output

This is Interesting: Free IT Magazines  
Home > Archive > Commerce Server General > November 2005 > .Net trace is full of CommerceServer output





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author .Net trace is full of CommerceServer output
ams8764@netscape.net

2005-11-08, 6:21 pm

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>
...

Jeff Lynch

2005-11-08, 6:21 pm

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


<ams8764@netscape.net> wrote in message
news:1131476189.480490.262720@o13g2000cwo.googlegroups.com...
>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>
> ...
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com