#29 fix and #31 fix

Fix for #29 Wrong configuration key used and 
#31 Log file doesn't write multiple logs from multiple appdomains