logging with current locale; fixes #7