LazLogger: setting *_debuglog environment variable does not work: no log
Original Reporter info from Mantis: BigChimp
-
Reporter name: Reinier Olislagers
Original Reporter info from Mantis: BigChimp
- Reporter name: Reinier Olislagers
Description:
Setting e.g. environment variable for Lazarus, something like
set lazarus_debuglog=c:\windows\temp\lazlog.txt
then starting lazarus from command line gives no log file.
Reason: error in code: * in FEnvironmentForLogFileName is never replaced with executable name without extension.
Patch attached which fixes problem.
Suggest backporting to 1.2.x series
Mantis conversion info:
- Mantis ID: 26537
- OS: Windows
- OS Build: Windows 7
- Build: 45986
- Platform: x64 (with x86 compiler)
- Version: 1.3 (SVN)
- Fixed in revision: r46161 (#bc278b18)
- Monitored by: » jdlinke (Jack Linke)
- Target version: 1.2.6