Logger init fix

According to git blame, it looks like the action of appending a pid to the log file name has been commented out since June. That was the only reason for dynamically allocating memory for a path string in this function. This commit merely removes the dynamic allocation, and just uses the input string given as the first argument.

Additionally, from /usr/include/stdlib.h

extern void *calloc (size_t __nmemb, size_t __size)

So the call to calloc had its arguments backwards. It doesn't really matter but I am just pointing it out.

Compiled and ran without warning or error on Ubuntu 14.04 with:

./configure --enable-logging

I also checked and the log file is working correctly.