logging, service research/pseudo-code