changed logging file name, logging format for db connection