View Single Post
  #1  
Old 04-08-2003, 09:51 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 5,656
Can I create project-specific log files?

Yes -- select File | Properties from the menu bar, switch to the Logging tab, enable project-specific log files and enter the log filename (or leave the filename field blank to disable file logging for the project). This will add a LOGFILE project macro to your project with a value of the filename to log to, overriding any log file defined in Tools | Application Options | Logging (which defines a system LOGFILE macro to be used for all projects unless overridden). Even if logging is not enabled globally in the application options, a log file will be generated if a project-level log file is specified.

Alternatively, project-specific log files can be defined for every project automatically by entering
Code:
%PROJDIR%\%PROJROOT%.log
in the logging options filename field. These system macros will be expanded when a project is built and the path and root name of the project file will be used for the log file.
Reply With Quote