To be sure everything is written correctly, you can use a mutex to protect the file, so that when another application (like another instance of ioA) is already writing on it, ioA is waiting for it to finish his work in order to start writing. I Have done this for my zipscript, it works perfectly, and the whole goal is that ioftpd doesn`t allow us to choose what we would like to log, and because some things loggued are useless or contain informations i don't want some people that can access the logfiles can see.
|