Skip to Content
Former Member
Jun 12, 2009 at 03:53 PM

append lines to a file


Hi all

I am writing a function to write a log. I would like to store informations on a file on local system. This lo g is for a batch. I would like to know if is it possible to append a single line to a file: each time there a record is analyzed I would like to put some information about operation done on the log. Is it possible to append lines to the log file (lile on linux log) so that if the report crash the log contain the last line before crash or the only way is to reload file, update it and store each time?

thanks to who can help me.