rasd: Log debug info and events data to files

The log file is '/var/log/rasd.log'; the data file
is '/var/log/rasd.data'.

Note: all debug and informational messages go to the log
file; stderr is not used anymore.

Boris:
 - s/open_output_files/open_log_files/g
 - cleanup in the error case in open_log_files
 - move success message to the end of daemonize(),
   after we've passed all checks

Signed-off-by: Jean Pihet <jean.pihet@linaro.org>
Link: http://lkml.kernel.org/r/1412933690-25576-13-git-send-email-jean.pihet@linaro.org
Signed-off-by: Borislav Petkov <bp@suse.de>
1 file changed
tree: 8f883170414f90dfb7e6622500d7c29cc3c5c50b
  1. include/
  2. src/
  3. .gitignore