Good Afternoon,
I am working in a SmartTarget project (Tridion 2011 SP1/ ST 2011 SP2), I have all the cartridges configured (the ones i need), and I want to know how I can turn on the log to see the the collection of claims that are passed in the FredHopper Call.
At this moment i've setup the smartTarget Log in the Delivery Web App, this is the log I am getting right now :
2014-01-13 16:15:29,512 DEBUG Query - initializing web service client for: http://CMS:8180/fredhopper-ws/services/FASWebService?wsdl
2014-01-13 16:15:30,709 TRACE Stopwatches - Performance result [thread: 32] 'FredhopperWSInit': 1197 milliseconds(LONG).
2014-01-13 16:15:30,710 DEBUG Query - Constructing Fredhopper query
2014-01-13 16:15:30,739 TRACE Stopwatches - Performance result [thread: 32] 'Query.InitParseEntityModel': 29 milliseconds.
2014-01-13 16:15:30,740 DEBUG Query - Executing query: fh_location=//catalog01/en_US/categories<{catalog01_tcm_0_9_1_tcm_9_9_4}&fh_view=home
2014-01-13 16:15:30,842 TRACE Stopwatches - Performance result [thread: 32] 'Query.GetAll': 102 milliseconds.
2014-01-13 16:15:30,848 TRACE Stopwatches - Performance result [thread: 32] 'Query.CreateResultSet': 5 milliseconds.
2014-01-13 16:15:30,848 TRACE Stopwatches - Performance result [thread: 32] 'Query.ExecuteFredhopperQuery': 138 milliseconds.
2014-01-13 16:15:30,851 DEBUG Query - Query returned 0 item(s)
2014-01-13 16:15:30,851 DEBUG Query - Query returned 1 promotion(s):
2014-01-13 16:15:30,859 DEBUG Query - Promotion: [HomePage Promotions] with [2] number of items for region [PromosRegion]
I remember that once I was able to turn-on the level of logging i am trying to accomplish now. but i lost that environment (the amazon instance got corrupted), so i missed the configuration.
Any help would be very appreciedted.
Regards, yeremy.
Update 1 [01-14-14]
Actually, the Log that I already had configured (in the delivery Side/Java App) at the moment i wrote this question was :
<appender name="rollingSmartTargetLog" class="ch.qos.logback.core.rolling.RollingFileAppender">
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<fileNamePattern>${log.folder}/smarttarget.%d{yyyy-MM-dd}.log</fileNamePattern>
<maxHistory>${log.history}</maxHistory>
</rollingPolicy>
<encoder>
<pattern>${log.pattern}</pattern>
</encoder>
<prudent>true</prudent>
</appender>
<!-- All Java based smarttarget -->
<logger name="com.tridion.smarttarget" level="ALL">
<appender-ref ref="rollingSmartTargetLog"/>
</logger>
<!-- specific one for ambientdata -->
<logger name="com.tridion.smarttarget.ambientdata" level="ALL">
<appender-ref ref="rollingSmartTargetLog"/>
</logger>
<!-- all .Net logs through Juggernet -->
<logger name="Tridion.SmartTarget" level="ALL">
<appender-ref ref="rollingSmartTargetLog"/>
</logger>
So, it should be another configution. maybe at FH/ST side.
[Updated 01-15-14]
The above configuration is enough to accomplish what i wanted, but the problem (in my environment) is that for some reason my Java app is not getting access to the ClaimStore. here more details about this issue