Added support for advanced logging
Modified name of log file