This function takes the following parameter:
Pointer to the name of the file to which log records are recorded.
If NULL or empty, logging messages are sent to the stderr stream.