cooperative-computing-lab/cctools — pull request #426 by batrick (2014-03-21 02:24:20+00:00)
Title: Various improvements to debug library.

o Modularize debug output systems and add functionality to log to the syslog and new systemd journal (-o :syslog and -o :journal).
o Add D_FATAL, D_ERROR, D_INFO.
o debug_config_file now determines the absolute path so the program may safely chdir.
o Parrot debug messages for children now show the child pid explicitly:
On syslog or systemd journal:
Mar 20 21:04:55.812447 neverwinter parrot_run[15063]: local: write 7 0x0x7fd7a03b6000 65 16
On regular file:
2014/03/20 21:58:28.46 parrot_run[26162] local: write 7 0x0x7f2a8f02f000 10 334
o Allow chirp_tool to log to a file.
o On fatal(...), dump core via SIGQUIT.
o Move WQ hack of renaming the debug file to debug.[ch] as debug_rename.