Fix flushLog() function.
Fix flushLog() function.

Signed-off-by: Alistair Kearney <e9adbcf81c8a36ccc628e09bc92d0e25e1c8e501@21degrees.com.au>
johnpuddephatt/symphony-2,builders/collective,TheJester12/issueprompt,henrysingleton/litmusk,jdsimcoe/symphony-boilerplate,benesch/hilton-unar,mazedigital/jcilearn,DeuxHuitHuit/symphony-2,bauhouse/Piano-Sonata,twiro/symphony-2,bauhouse/sym-pagoda,yojeek/sym-community,bauhouse/Piano-Sonata,scottkf/premier-medical-care.com,symphonycms/symphony-3,BloodBrother/symphony-2,davjand/Checkout-Ensemble,tachyondecay/symphony-2,bauhouse/sym-fluidgrids,psychoticmeow/journey-cms,bauhouse/designadmin,ayellowraven/projectplaten,psychoticmeow/journey-cms,bauhouse/sym-todo-list,tachyondecay/symphony-2,bauhouse/Bugaroo,bauhouse/members-forms-ensemble,jensscherbl/symphony,symphonycms/symphony-3,nils-werner/Bugaroo,scottkf/premier-medical-care.com,builders/sym-bootstrap,avanteweb/symphony-2,eliksir/norske-webapps,jonmifsud/symphony-2,bauhouse/sym-intranet,brendo/symphony-2,embarknow/journey-cms,symphonycms/symphony-2,bauhouse/Bugaroo,psychoticmeow/symphony-2,allen/auth.getsymphony.com,wastemobile/Symphony2.3.6,DeuxHuitHuit/symphony-2,michael-e/symphony-2,DavidForster/symphony-2,symphonycms/sym-getsymphony,alexnantel88/symphony-2,bauhouse/sym-forum,bauhouse/members-forms-ensemble,chay83/Symphony-Shopping-Cart-Ensemble,Titch/Symph-test,rzantolas/Symphony-Test,NikoMostWanted/symphony-2,bauhouse/sym-pears,bauhouse/sym-spectrum-members,ljonka/symphony-2,bauhouse/sym-form-builder,yojeek/sym-community,blaXXabla/projet_test_symphony,alexnantel88/symphony-2,BloodBrother/symphony-2,davjand/Checkout-Ensemble,wastemobile/Symphony2.3.6,NikoMostWanted/symphony-2,ljonka/symphony-2,roshinebagha/Symphony-Test,bauhouse/sym-calendar,nils-werner/Bugaroo,builders/sym-bootstrap,thebestsophist/personal-health-diary,blaXXabla/projet_test_symphony,builders/collective,bauhouse/sym-pears,builders/sym-bauhouse-ensemble,jdsimcoe/symphony-boilerplate,brendo/symphony-2,jensscherbl/symphony,symphonycms/sym-getsymphony,jurajkapsz/symphony-2,chay83/Symphony-Shopping-Cart-Ensemble,eliksir/norske-webapps,mazedigital/jcilearn,jonmifsud/symphony-2,twiro/symphony-2,scottkf/premier-medical-care.com,roshinebagha/Symphony-Test,psychoticmeow/journey-cms,ayellowraven/projectplaten,embarknow/journey-cms,embarknow/journey-cms,bauhouse/sym-pagoda,benesch/hilton-unar,scottkf/nicholscommunications,bauhouse/sym-spectrum,bauhouse/sym-connector,johnpuddephatt/symphony-2,michael-e/symphony-2,eliksir/norske-webapps,symphonycms/symphony-2,bauhouse/sym-barebones,scottkf/keepflippin--on-symphony,builders/designadmin,TheJester12/issueprompt,thebestsophist/personal-health-diary,psychoticmeow/symphony-2,psychoticmeow/journey-cms,Titch/Symph-test,bauhouse/sym-intranet,jdsimcoe/symphony-boilerplate,allen/auth.getsymphony.com,henrysingleton/litmusk,bauhouse/sym-site,embarknow/journey-cms,jdsimcoe/symphony-boilerplate,scottkf/nicholscommunications,rzantolas/Symphony-Test,embarknow/journey-cms,TheJester12/issueprompt,astudio/remixhair,astudio/remixhair,domain7/sym-cumulus,bauhouse/sym-todo-list,mazedigital/jcilearn,ahwayakchih/symphony-2,avanteweb/symphony-2,jurajkapsz/symphony-2,bauhouse/sym-extensions,DavidForster/symphony-2,pixelninja/imagick_effects,ahwayakchih/symphony-2,psychoticmeow/journey-cms