ADd test-logger.c back for NULL logger test
Avoid using strncat

It is too easy to use strncat wrong.
Check return of asprintf to cease warnings
Cease warning