levelinfinity
03-06-2003, 07:44 PM
Hello everyone.
Is there a way to assign the date & time to the
logfile name when doing builds?
I tried adding the macro DATETIME to the logfile name and it doesn't create the log file. For example the variable BUILD_DATETIME is set to %DATETIME%. The LOGFILE variable is set to %PROJDIR%\Results_%BUILD_DATETIME%.log. If I set the LOGFILE variable to %PROJDIR%\Results.log it creates the logfile Results.log.
I want to be able to differentiate between log files.
Date and Time seemed appropriate.
Warren
Is there a way to assign the date & time to the
logfile name when doing builds?
I tried adding the macro DATETIME to the logfile name and it doesn't create the log file. For example the variable BUILD_DATETIME is set to %DATETIME%. The LOGFILE variable is set to %PROJDIR%\Results_%BUILD_DATETIME%.log. If I set the LOGFILE variable to %PROJDIR%\Results.log it creates the logfile Results.log.
I want to be able to differentiate between log files.
Date and Time seemed appropriate.
Warren