Logging

Changed logging to append rather than truncate. Was getting tired of losing log information between runs.