Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 error_log() 将错误/日志写入应用程序中的特定文件。我见过一些日志中的条目丢失的情况。当我们使用 error_log() 函数进行过多的日志记录时,这是一个已知问题吗?
error log
如果您希望将错误记录在同一目录中,那么,
error_log = error_log
否则,如果您希望将其存储到单个文件中,
error_log = /path/to/errorlog