Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
2k views
in .NET FTP by (260 points)
The day I first used edtFTPnet, the logger correctly added results to the "ftpResults.txt" file. However, since then I can not find the log file - I have searched my whole drive. Some of the logger related lines are below.

Logger log = Logger.GetLogger(typeof(FTPTestClass));
Logger.CurrentLevel = Level.DEBUG;
. . .
log.Debug("Connecting");
. . .
log.Debug("Setting up active, ASCII transfers");
. . .


What might I check to resolve this?

Thank you

1 Answer

0 votes
by (162k points)
You need to explicitly set up a FileAppender for your log file and add it to the Logger. Take a look at the sample code or the dev guide, or search the forums.

Categories

...