@@ -58,11 +58,6 @@ export const useGravityAd = (): GravityAdState => {
5858 if ( isActive && ad ?. impUrl && ! impressionFiredRef . current . has ( ad . impUrl ) ) {
5959 const currentImpUrl = ad . impUrl
6060 impressionFiredRef . current . add ( currentImpUrl )
61- logger . info (
62- { impUrl : currentImpUrl } ,
63- '[gravity] Recording ad impression' ,
64- )
65-
6661 const authToken = getAuthToken ( )
6762 if ( ! authToken ) {
6863 logger . warn ( '[gravity] No auth token, skipping impression recording' )
@@ -196,13 +191,8 @@ export const useGravityAd = (): GravityAdState => {
196191
197192 rotationTimerRef . current = setTimeout ( async ( ) => {
198193 adsShownRef . current += 1
199- logger . info (
200- { adsShown : adsShownRef . current , max : MAX_ADS_AFTER_ACTIVITY } ,
201- '[gravity] Ad cycle complete' ,
202- )
203194
204195 if ( adsShownRef . current >= MAX_ADS_AFTER_ACTIVITY ) {
205- logger . info ( '[gravity] Max ads shown, pausing rotation' )
206196 isPausedRef . current = true
207197 return
208198 }
@@ -222,7 +212,6 @@ export const useGravityAd = (): GravityAdState => {
222212 adsShownRef . current = 0
223213
224214 if ( wasPaused ) {
225- logger . info ( '[gravity] User active, resuming ad rotation' )
226215 isPausedRef . current = false
227216 scheduleRotation ( )
228217 }
@@ -259,7 +248,6 @@ export const useGravityAd = (): GravityAdState => {
259248
260249 if ( hasUserMessage ) {
261250 unsubscribe ( )
262- logger . info ( '[gravity] First user message detected, starting ads' )
263251 setIsActive ( true )
264252 }
265253 } )
0 commit comments