Make logger safe to full disk. Patch by cscott. Minor style changes by me.
Make logger safe to full disk. Patch by cscott.
Minor style changes by me.

tchx84/debian-pkg-sugar-base,tchx84/debian-pkg-sugar-base,tchx84/debian-pkg-sugar-base,sugarlabs/sugar-base,ceibal-tatu/sugar-base,ceibal-tatu/sugar-base,ceibal-tatu/sugar-base,sugarlabs/sugar-base,sugarlabs/sugar-base