Issue182 log targets

These are the changes I've worked on to support accepting the stdout/stderr_syslog parameters. I found there wasn't only one suitable branch to target this pull request, and that's this one (groupevents). Any other branch in your repo doesn't have many of the changes from the parent repo.