daemon bug on redirectiong logs