Is there anything wrong with this very simplistic way of writing geo-processing messages to a plain text file? Being new to Python, I was surprised it was this easy....I must be overlooking something!
To clarify, I am intending to write the messages from the last tool which was invoked in the script.
f = open(resultLogFile, "a")
s = str(arcpy.GetMessages())