server.c : log to file
syslogd.c : add newline at the end of each log received
fixed bug in server.c