error send to stderr. typo fixed. clockword use in process name. file name used as default for identifier. default pid dir set to ./tmp/. print message wth pid dir and log dir.