Griesbacher / nagflux

A connector which copies performancedata from Nagios / Icinga(2) / Naemon to InfluxDB
GNU General Public License v2.0
66 stars 32 forks source link

fix logging to existing logfiles #16

Closed sni closed 8 years ago

sni commented 8 years ago

os.Open opens a file readonly, so existing logfiles never would be changed. Instead we can use OpenFile to append or create to the logfile.

Griesbacher commented 8 years ago

Thank you!