simplified verbose logging code