small fixes to sample config
added stacktrace to exception log