Use fullpath to database and log directories in config file