added error logger at process level.