changing log location and database name