SOFTHSM-70: Use correct function to print the boolean value
SOFTHSM-70: Remove printf from code
SOFTHSM-70: Log to syslog and not stderr
SOFTHSM-70: Better error handling if the configuration is invalid