added option for defining log level and support for level info

I needed to log requests in detail in my production environment so I added an option for log level. Maybe this is something someone else could make use of too.