Allow logging to syslog

Change-Id: I5aa8b0b1a43f7bcf907a3058af9ed4229069d3b7
Place dependencies on files rather than directories

Change-Id: I8bc3e13dde75bd3fcce4c0e326adcf9ff507af5a