Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Type
/
to search
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
DrivenLogic
/
NLog
Public
forked from
NLog/NLog
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
FAQ
Jump to bottom
Edit
New page
Xharze edited this page
Sep 24, 2012
·
1 revision
Logging is not working - how to troubleshoot?
How to properly log exceptions?
How to configure logging in a component?
##Extending NLog
How to write a Target
Wiki pages
Pages
134
Loading
Home
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
AspApplication layout renderer
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
AspNetApplication layout renderer
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
AspNetBufferingWrapper target
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
AspNetRequest layout renderer
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
AspNetSession layout renderer
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
AspNetSessionId layout renderer
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
AspNetTrace target
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
AspNetUserAuthType layout renderer
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
AspNetUserIdentity layout renderer
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
AspRequest layout renderer
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
AspResponse target
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
AspSession layout renderer
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
AsyncWrapper target
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
AutoFlushWrapper target
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Basedir layout renderer
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
BufferingWrapper target
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Cached Layout Renderer
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Callsite layout renderer
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Chainsaw target
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
ColoredConsole target
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Conditions
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Configuration API
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Configuration file
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Configure component logging
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Console target
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Counter layout renderer
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
CsvLayout
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Database target
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Date layout renderer
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Debug target
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Debugger target
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
DocumentUri layout renderer
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Environment layout renderer
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Event Context Layout Renderer
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
EventContext layout renderer
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Eventlog target
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Examples
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Exception layout renderer
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
FallbackGroup target
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
FAQ
Loading
File target
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
FileContents layout renderer
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Filesystem Normalize Layout Renderer
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
FilteringWrapper target
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Filters
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
FormControl target
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Gc layout renderer
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Gdc layout renderer
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Guid layout renderer
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
How to log exceptions
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
How to write a target
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Identity layout renderer
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
ImpersonatingWrapper target
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
InstallContext layout renderer
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Internal Logging
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
JSON Encode Layout Renderer
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Layout Renderers
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Layouts
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
LayoutWithHeaderAndFooter
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Level layout renderer
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Literal Layout Renderer
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Log levels
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Log4JXMLEvent Layout Renderer
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Log4JXmlEventLayout
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Logger Layout Renderer
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Logging Troubleshooting
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
LogReceiverService target
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Longdate Layout Renderer
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Lowercase Layout Renderer
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Machinename Layout Renderer
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Mail target
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
MDC Layout Renderer
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Memory target
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Message Layout Renderer
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
MessageBox target
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
MethodCall target
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
MSMQ target
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
NDC Layout Renderer
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Network target
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Newline Layout Renderer
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
NLogDir Layout Renderer
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
NLogViewer target
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Null target
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
OnException Layout Renderer
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
OutputDebugString target
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Pad Layout Renderer
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
PerfCounter target
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
PerformanceCounter Layout Renderer
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
PostFilteringWrapper target
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
ProcessId Layout Renderer
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
ProcessInfo Layout Renderer
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Processname Layout Renderer
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Processtime Layout Renderer
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
QPC Layout Renderer
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
RandomizeGroup target
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Registry Layout Renderer
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
RepeatingWrapper target
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Replace Layout Renderer
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
RetryingWrapper target
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
RichTextBox target
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Rot13 Layout Renderer
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
RoundRobinGroup target
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
ShortDate Layout Renderer
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
SimpleLayout
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
SL AppInfo Layout Renderer
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Special Folder Layout Renderer
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
SplitGroup target
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Stack Trace Layout Renderer
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Targets
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
TempDir Layout Renderer
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
ThreadId Layout Renderer
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
ThreadName Layout Renderer
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Ticks Layout Renderer
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Time Layout Renderer
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Tools
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Trace target
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Trim Whitespace Layout Renderer
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Tutorial
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Uppercase Layout Renderer
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Url Encode Layout Renderer
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Visual Studio Support
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Web resources
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
WebService target
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
When Filter
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
When Layout Renderer
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
WhenContains filter
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
WhenEmpty Layout Renderer
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
WhenEqual filter
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
WhenNotContains filter
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
WhenNotEqual filter
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Who Is Using NLog
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Windows Identity Layout Renderer
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Xml Encode Layout Renderer
Uh oh!
There was an error while loading.
Please reload this page
.
Show 119 more pages…
Add a custom sidebar
Clone this wiki locally
You can’t perform that action at this time.