Introduced method getLogFilePath(), minot CS fixes
Using now getLogFilePath() in getLog()
Merge pull request #1003 from roadster31/toto

Introduced method getLogFilePath(), minor CS fixes