1.

Which logging option’s description is if an error occurs when writing to the syslog, send output to the system console?(a) LOG_CONS(b) LOG_NDELAY(c) LOG_ODELAY(d) LOG_PERRORI got this question in a national level competition.The origin of the question is Error Handling in division Error Handling and Exception Handling in PHP of PHP

Answer»

Correct option is (a) LOG_CONS

The explanation is: If there is an error while sending data to the SYSTEM logger, LOG_CONS will write DIRECTLY to the system console.



Discussion

No Comment Found

Related InterviewSolutions