move logging configuration from tornado to frontik