create every directory and logrotate agent log