write log files per client