fix file logging bug: only log statements from pgcli.main were logged to file. attach file handler to the root pgcli instead of pgcli.main
fix file logging bug: only log statements from pgcli.main were logged to file. attach file handler to the root pgcli instead of pgcli.main

suzukaze/pgcli,bitmonk/pgcli,johshoff/pgcli,lk1ngaa7/pgcli,TamasNo1/pgcli,joewalnes/pgcli,darikg/pgcli,nosun/pgcli,bitemyapp/pgcli,j-bennet/pgcli,dbcli/vcli,bitemyapp/pgcli,d33tah/pgcli,thedrow/pgcli,j-bennet/pgcli,dbcli/pgcli,joewalnes/pgcli,w4ngyi/pgcli,zhiyuanshi/pgcli,w4ngyi/pgcli,n-someya/pgcli,MattOates/pgcli,TamasNo1/pgcli,n-someya/pgcli,darikg/pgcli,nosun/pgcli,koljonen/pgcli,thedrow/pgcli,bitmonk/pgcli,johshoff/pgcli,suzukaze/pgcli,lk1ngaa7/pgcli,dbcli/vcli,d33tah/pgcli,yx91490/pgcli,dbcli/pgcli,MattOates/pgcli,janusnic/pgcli,janusnic/pgcli,koljonen/pgcli,zhiyuanshi/pgcli,yx91490/pgcli