Introduced method getLogFilePath(), minor CS fixes

why you don't use this method in ```getLog``` method ?