Restrict the log and db in one absolute path