Added global and local logging file.