add in rotating logs for mg, cherrpy access, sqlite