ReportDr00
IS-IT--Management
Hello
I am using Streamwriter as below but it writes only the last message instead of appending to the file?
I am doing this in script task of SSIS.
Using writer As StreamWriter = New StreamWriter("C:\STExceptionLog.txt")
writer.WriteLine()
writer.Write(ex.ToString)
writer.Flush()
writer.Close()
End Using
how could i add and append log messages to the text file in Script task?
I am using Streamwriter as below but it writes only the last message instead of appending to the file?
I am doing this in script task of SSIS.
Using writer As StreamWriter = New StreamWriter("C:\STExceptionLog.txt")
writer.WriteLine()
writer.Write(ex.ToString)
writer.Flush()
writer.Close()
End Using
how could i add and append log messages to the text file in Script task?