add default db path and log path