Through the code until I can trace exactly where the problems exist. Not exactly ideal - but there are times logging doesn't always solve things as there are no actual errors.... just unexpected behaviors.