Add logName support to the singleton pattern. Maintain behaviour of one log file per directory