Use MongoDB profiler for logging