ComponentSpace

Forums



Add tracing / debug info for NLog


Add tracing / debug info for NLog

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

Group: Awaiting Activation
Posts: 5, Visits: 37
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 (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)

Group: Administrators
Posts: 3.2K, Visits: 11K
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. 1 query. Compression Enabled.
Login
Existing Account
Email Address:


Password:


Select a Forum....












Forums, Documentation & Knowledge Base - ComponentSpace


Search