You are viewing limited content. For full access, please sign in.

Question

Question

Log level increase for version 10 Directory Service, Forms and Web Access

asked on June 28, 2016

In version 9 Forms and Web Access, it was possible to adjust the logging level in the appropriate web.config.xml file. License Manager had a much easier way of adjusting the log level in the app.

In version 10 for these, I see the same line entry in the xml file for Forms and WA but adjusting the value has no change. Also, I'm aware of the location change for error reporting in Event Viewer. How can I increase the log level for these 3 apps now?

0 0

Replies

replied on June 29, 2016

There are two ways to increase log levels in LFDS.

1) Enable exception details for License Manager Service (all licensing) and/or Web STS (SSO) by setting includeExceptionDetailInFaults to True for each node in the LFDS.exe.config file:

  <serviceBehaviors>
	<behavior name="LicenseManagerServiceBehavior">
	  <serviceMetadata httpGetEnabled="true" />
	  <serviceDebug includeExceptionDetailInFaults="True" />
	</behavior>
	<behavior name="SecurityTokenServiceBehavior">
	  <serviceMetadata httpGetEnabled="true" />
	  <serviceDebug includeExceptionDetailInFaults="True" />
	</behavior>
  </serviceBehaviors>

2) Enable the debug and analytic logs:

In the Event Viewer, on the server folder, right click > View > Show Analytic and Debug logs

 

Once they are shown, you need to enable the Analytic log. Right click > Properties:

Then select “Enable logging”

I'll see if there's a way we can make this simpler in the future.

2 0
replied on June 28, 2016

For Web Access you configure it in Configuration.aspx, in the Diagnostics section. The log is written to c:\ProgramData\Laserfiche\WebAccess\EventLog. Critical events are also written to the Windows event log.

1 0
replied on June 29, 2016

I see that this is the same as adjusting the options as when viewed in the browser. I'd been looking for a number value to increase in a config file.

Thank you.

0 0
replied on June 28, 2016

As of Forms version 10, this setting is now in the Forms database. Edit the cf_options table where the optionname is "LogPolicyThreshold". The possible values for the option are, in order of increasing detail, "Error", "Warning", "Information", and "Debug". The default value is "Information".

1 0
replied on June 29, 2016

Thank you. I tested this successfully.

0 0
replied on January 18, 2017

As an update, with Forms 10.2 there is now a dropdown in the Forms Configuration page (the "Diagnostics" tab on the left sidebar) where the logging level can be specified, so database edits are no longer needed to set this.

1 0
replied on January 19, 2017

Thank you for the update!

0 0
replied on July 5, 2017

Where can I change the debug level on forms 10.1?

0 0
replied on July 5, 2017

Forms 10.1 logging level is changed in the database, as described in my reply from 28 June 2016.

0 0
replied on July 2, 2019

Hi,

 

Could you please advise if LFDS debugging activation is still enabled using Brianna's steps above?

I am needing to see windows authentication success/failure events as Admin console shows windows users with False in Named User column, however LFDS lists same windows accounts as Full

many thanks

 

Warren Cook

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.