Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
6.3k views
in .NET FTP by (162k points)
A user writes:

Every time after i'm creating a FTPClient object (FTPClient ftp =new FTPClient(FTPHostAddress) ) - i'm getting the following WARNING message in the console:

WARNING: 'edtftp.log.level' not found or invalid - logging switched off

Can you please tell me what it is, and how can i overcome this ?

thank you very much


This is just a warning that that this property hasn't been found as expected in the application configuration file. It can be safely ignored and the logging level set later.

Alternatively, you can insert an entry into the appSettings section of the configuration file such as:

<appSettings>
<add key="edtftp.log.level" value="ALL"/>
</appSettings>

This will stop the message being produced

4 Answers

0 votes
by
Thanks for the quick reply!
Indeed it solved the "problem".
0 votes
by (140 points)
Or value="OFF" to disable completely.
0 votes
by
Is there a way using a config file to output logs to files? If I specify 'ALL', for instance, debug information is written to the console (I'm writing a console app). I would like to capture the log, but not write it to the screen.

Thanks!

ib.
0 votes
by (162k points)
Logger.addAppender(new FileAppender(filename));

Is there a way using a config file to output logs to files? If I specify 'ALL', for instance, debug information is written to the console (I'm writing a console app). I would like to capture the log, but not write it to the screen.

Thanks!

ib.

Categories

...