Fix path issue for initiating logs.