reformat code
change access log's level to debug
check rules
minor changes
Merge remote-tracking branch 'chenfengyuan/master'

with more styling changes