Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
2.3k views
in .NET FTP by (240 points)
I'm finding the documentation of the EnterpriseDT.Util.Debug library a bit sparse. I searched here and found questions about using FileAppender that refer to the demo code, but in the version I have installed, I can find no example code that uses a File Appender.

Basically I have a log file I'm already using, and I want the FTP component to log to that file.

Lil' help?

Thanks!

1 Answer

0 votes
by (162k points)
Logger.AddAppender(new FileAppender("myfile.log"));

or if you are using FTPConnection (which is preferred)

FTPConnection.LogFile = "myfile.log";

Categories

...