Update support for SGE, now the log file is normal.