Introduction
Download
Documentation
FAQ
Forum
Issue Tracker
Mailing Lists
|
Software
»
SourceForge
»
NLog Forum
where does MailTarget store its properties??
View:
Threaded
Chronologically
All Messages
New views
1 Messages —
Rating Filter:
0
1
2
3
4
5
Alert me
where does MailTarget store its properties??
by ElysianEagle
:: Rate this Message:
Reply to Author
|
View Threaded
|
Show Only this Message
hey,
i have the following code:
NLog.Targets.MailTarget mailTarget = logger.Factory.Configuration.FindTargetByName("mail") as NLog.Targets.MailTarget;
mailTarget.SmtpServer = "some_smtp_server";
mailTarget.To = "jack@jack.com";
...
now when i shutdown and restart my app, the mailTarget seems to remember those changes. but it must be storing these changes somewhere, and they're not showing up in the NLog.config file...so where are they being stored???
thanks!
Free Forum
Powered by Nabble
Forum Help
Copyright © 2003-2005 by Jaroslaw Kowalski