log messages for profiling