logging LOG_PERROR added