ComponentSpace

Forums



Add tracing / debug info for NLog


Add tracing / debug info for NLog

Author
Message
xnetdude
xnetdude
New Member
New Member (11 reputation)New Member (11 reputation)New Member (11 reputation)New Member (11 reputation)New Member (11 reputation)New Member (11 reputation)New Member (11 reputation)New Member (11 reputation)New Member (11 reputation)

Group: Awaiting Activation
Posts: 4, Visits: 28
Hi,

We would like to add tracing (as per this article https://www.componentspace.com/Forums/7936/Enabling-SAML-Trace), but we use NLog and can't see how we can enable for our existing logging.

Any help appreciated.

Tia.
ComponentSpace
ComponentSpace
ComponentSpace Development
ComponentSpace Development (3.9K reputation)ComponentSpace Development (3.9K reputation)ComponentSpace Development (3.9K reputation)ComponentSpace Development (3.9K reputation)ComponentSpace Development (3.9K reputation)ComponentSpace Development (3.9K reputation)ComponentSpace Development (3.9K reputation)ComponentSpace Development (3.9K reputation)ComponentSpace Development (3.9K reputation)

Group: Administrators
Posts: 2.8K, Visits: 8.8K
We use the standard ASP.NET Core logging API. This means that NLog may be used to capture these log entries. Just ensure the "ComponentSpace" logging level is set to debug as described at:

https://www.componentspace.com/Forums/7936/Enabling-SAML-Trace

I replaced the Serilog configuration in the ExampleServiceProvider with NLog and confirmed logging worked as expected. 

Regards
ComponentSpace Development
GO


Similar Topics


Execution: 0.000. 2 queries. Compression Enabled.
Login
Existing Account
Email Address:


Password:


Social Logins

Select a Forum....









Forums, Documentation & Knowledge Base - ComponentSpace


Search