bug 856 - reapplying previous ns_log fix
bug 856 - reapplying previous ns_log fix

from commit 43cd38a17f4e8b2b4a6b237cd5cdbde704bc1461
that was blown away by commit cdbb17bce1ef1a806ab8ce32f4c6b11a14e79acf

daverigby/ns_server,nimishzynga/ns_server,vzasade/ns_server,mschoch/ns_server,vzasade/ns_server,t3rm1n4l/ns_server,mschoch/ns_server,t3rm1n4l/ns_server,ceejatec/ns_server,nimishzynga/ns_server,membase/ns_server,daverigby/ns_server,ceejatec/ns_server,nimishzynga/ns_server,daverigby/ns_server,mschoch/ns_server,t3rm1n4l/ns_server,vzasade/ns_server,mschoch/ns_server,membase/ns_server,pavel-blagodov/ns_server,ingenthr/ns_server,nimishzynga/ns_server,membase/ns_server,ceejatec/ns_server,nimishzynga/ns_server,t3rm1n4l/ns_server,pavel-blagodov/ns_server,t3rm1n4l/ns_server,daverigby/ns_server,membase/ns_server,ingenthr/ns_server,pavel-blagodov/ns_server,daverigby/ns_server,pavel-blagodov/ns_server,ceejatec/ns_server,nimishzynga/ns_server,ceejatec/ns_server,mschoch/ns_server,membase/ns_server,membase/ns_server,ceejatec/ns_server,vzasade/ns_server,ingenthr/ns_server,ingenthr/ns_server,mschoch/ns_server