Add pid in log file for better understanding