Write to files, CLLog improvements