Skip to content

Log reference

Log levels

LevelWhen to use
errorProduction - errors only
warnProduction - errors and warnings
infoProduction - normal operation
debugDevelopment/troubleshooting

Edge Gateway log messages

Startup

  • Edge Gateway started on :10070 - successful start
  • Loaded N hosts - host configurations loaded

Request handling

  • Request received - incoming request
  • Cache hit - served from cache
  • Cache miss - triggering render
  • Bypass mode - direct fetch, no render

Errors

  • Authentication failed - invalid or missing X-Render-Key
  • Host not found - no matching host configuration
  • No render services available - registry empty
  • Render timeout - render exceeded timeout

Render Service log messages

Startup

  • Render Service started - successful start
  • Registered in service registry - ready to accept requests
  • Chrome pool initialized - pool ready

Chrome pool

  • Chrome instance acquired - render starting
  • Chrome instance released - render complete
  • Chrome instance restarting - lifecycle restart

Rendering

  • Render started - beginning render
  • Render completed - successful render with timing
  • Render failed - error during render

Cache Daemon log messages

Scheduler

  • Recache job started - batch processing begun
  • Recache completed - batch finished
  • URL queued for recache - individual URL scheduled

Error codes

CodeMeaning
ERR_AUTH_FAILEDAuthentication failure
ERR_HOST_NOT_FOUNDUnknown host
ERR_RENDER_TIMEOUTRender exceeded timeout
ERR_CHROME_UNAVAILABLENo Chrome instances available
ERR_CACHE_WRITEFailed to write cache

Example log analysis

Debugging a slow render

# 1. Find the request
grep "request_id=abc123" edge-gateway.log

# 2. Check render service
grep "request_id=abc123" render-service.log

# 3. Look for timing info
grep "render_duration" render-service.log | grep "abc123"

Finding cache problems

# Check cache hit rate
grep "Cache hit\|Cache miss" edge-gateway.log | tail -100

# Find specific URL issues
grep "url=example.com/page" edge-gateway.log