Simultaneous logging to file

In my application I have a CFileLogRoute to log some info to a file.

I 'd like to know if two or more users view my page at the same time and the loggers try to access the file what happens?

The first logger will open the file for writing but what about the other loggers?

Will there be a cannot write to file error?

Is an exception thrown?

Nothing will happen. The all logs should be successfully saved. Cause log route does not lock files. CFileLogRoute use error_log function for writing to files.

Thanks :)

You’re welcome :)