Logging of events

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
Phroobar
Posts: 28
Joined: 13 Dec 2022, 16:14

Logging of events

Post 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.
atrol
Site Admin
Posts: 8273
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Logging of events

Post by atrol »

Tried on WIndows using XAMP and it worked.
Looks like a IIS configuration issue.
Please use Search before posting and read the Manual
cas
Posts: 1516
Joined: 11 Mar 2006, 16:08
Contact:

Re: Logging of events

Post by cas »

Not sure if it was on windows or linux but it started working once i created the file
Phroobar
Posts: 28
Joined: 13 Dec 2022, 16:14

Re: Logging of events

Post by Phroobar »

This is under windows on IIS. I've got IIS configured for a log directory.
cas
Posts: 1516
Joined: 11 Mar 2006, 16:08
Contact:

Re: Logging of events

Post 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
Phroobar
Posts: 28
Joined: 13 Dec 2022, 16:14

Re: Logging of events

Post by Phroobar »

That worked! Thank you very much.
Post Reply