log to logs, doc to docs