add some more data collection for logs.