In NLog a file target object has an asset named "keepFileOpen" (by default) this property is set to false by default , Which means that each log event file will open, write to file and close the file.
The hit in the display is very large, so I specified "keepFileOpen" on the right, instead of the false, which means that the file will be opened only once.
Does anyone have an idea (or know right now) why this property has been set by default on "false", causing a huge performance to be logged?
Is there a situation where problems can arise by telling this truth to truth (hence it can understand "wrong" by default).
Thank you!
Edit Write 100K events to the lodge, display measurement for the original layout: Try to send me emails and ask them about it. I can not understand any reason why this option is wrong by default.
Comments
Post a Comment