Move logging to one file

Signed-off-by: Jeff Horn <jhorn@reachtech.com>
Add file logger and sig handler

Signed-off-by: Jeff Horn <jhorn@reachtech.com>
Change signal handler to sigaction

Signed-off-by: Jeff Horn <jhorn@reachtech.com>
Add some logging for program termination

Signed-off-by: Jeff Horn <jhorn@reachtech.com>
Add server logging array

Signed-off-by: Jeff Horn <jhorn@reachtech.com>