Fix #39; Fix #38: Log refactoring and resolve web resources