added doc for sys.piddir and sys.logdir