No LogFile Created

contains all delphi packages mentioned below

No LogFile Created

Postby KevinX3 » Fri Jan 19, 2018 2:43 am

Apologies for the Newbie question.

I have searched the forum and cannot find an answer.

RS XE7 with MadExcept Installed and enabled

I have the path to the logfile set to C:\EMP Logs\BugReport.txt. No matter what, I never get a bug report created. I have tried leaving the absolute path and just putting in BugReport.txt, but no bug report is created in AppData.

Any ideas what I might be doing wrong??

Thanks,
Kevin
KevinX3
 
Posts: 5
Joined: Fri Jan 19, 2018 2:37 am

Re: No LogFile Created

Postby madshi » Fri Jan 19, 2018 9:01 am

Do you have "automatically save bug report" enabled in the madExcept settings? Does your EXE have write access to "C:\EMP Logs\BugReport.txt"?
madshi
Site Admin
 
Posts: 9880
Joined: Sun Mar 21, 2004 5:25 pm

Re: No LogFile Created

Postby KevinX3 » Fri Jan 19, 2018 10:32 pm

Hi,

Do you have "automatically save bug report" enabled in the madExcept settings?

Yes
Image
Does your EXE have write access to "C:\EMP Logs\BugReport.txt"?

Yes, other logfile (from LoggerPro for example) happily write to that folder. I'm sure it's something simple, but I don't know what. I have also tried setting the logfile folder to {App Directory}\Logs (I do that for other logfiles as well), but that also did not work:
Code: Select all
      // LogFile setup
      sLogFolder := IncludeTrailingPathDelimiter(ExtractFilePath(ParamStr(0))) + 'logs';
      if not(DirectoryExists(sLogFolder)) then
        ForceDirectories(sLogFolder);
      sProcessID := inttostr(GetCurrentProcessId);
      sLogFileName := 'MadExcept_DbXConnect_' + FormatDateTime('YYYYMMDD',now) + '_' + sProcessID + '.log';
      MESettings.BugReportFile := sLogFolder + sLogFileName;
KevinX3
 
Posts: 5
Joined: Fri Jan 19, 2018 2:37 am

Re: No LogFile Created

Postby madshi » Fri Jan 19, 2018 11:05 pm

Can you reproduce this problem in a simple brand new almost empty test project? If so, can you make that test project available to me?
madshi
Site Admin
 
Posts: 9880
Joined: Sun Mar 21, 2004 5:25 pm


Return to madCollection

Who is online

Users browsing this forum: No registered users and 1 guest

cron