added emeny type to log files