changed the logger implementation so that it works with a .properities
file