Thank you Ran After Testing SQLite, I guessed that the "wite to file" is the fastest way to save information to disk.
I can't use transactions because the aim of the logs is that if my shutdown incorrectly I can know where is the problem, if I use transactions I'll loose last actions and may be the cause of the problem Thank you all for your help and Sorry Ran, I felt attacked by your answer... -- Cordialement Khaldoun KASSEM