Page 1 of 1

Logging of events

Posted: 21 Jul 2023, 21:22
by Phroobar
We are still having problems with the LDAP configuration. We are trying to turn on logging to help debug the LDAP problem but Mantis doesn't seem to return any log files. In our config we did this

$g_log_destination='page';
$g_show_log_threshold=ANYBODY;
$g_log_level=LOG_ALL;
$g_log_destination='file:D:\Applications\mantis\mantis_wwwroot\log\filelog.log";

What am I missing here? This file never gets updated. We did give it full access rights in IIS.

Re: Logging of events

Posted: 22 Jul 2023, 17:41
by atrol
Tried on WIndows using XAMP and it worked.
Looks like a IIS configuration issue.

Re: Logging of events

Posted: 24 Jul 2023, 07:27
by cas
Not sure if it was on windows or linux but it started working once i created the file

Re: Logging of events

Posted: 24 Jul 2023, 15:17
by Phroobar
This is under windows on IIS. I've got IIS configured for a log directory.

Re: Logging of events

Posted: 24 Jul 2023, 18:38
by cas
I just suggested to create an empty file in the defined location.
So create D:\Applications\mantis\mantis_wwwroot\log\filelog.log (can be empty) and try again

Re: Logging of events

Posted: 27 Jul 2023, 17:04
by Phroobar
That worked! Thank you very much.