Discuss (FTP), (FTP on .NET CF) and (FTPS, SFTP and SCP).
no avatar
User

eduardog

Posts

2

Joined

Fri Feb 18, 2005 4:00 am

WARNING: 'edtftp.log.level' not found or invalid

by eduardog » Fri Feb 18, 2005 4:05 am

Modified the VB class example to module, here is the begining of the code, I'm trying to make a console app:

Module Module1

Sub Main(ByVal args() As String)
If args.Length <> 3 Then
Usage()
System.Environment.Exit(1)
End If
Dim log As Logger = Logger.GetLogger(GetType(Module1))
Dim host As String = args(0)
Dim user As String = args(1)
Dim password As String = args(2)
Logger.CurrentLevel = Level.ALL
Dim ftp As FTPClient = Nothing

and I get this message:

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

I'm new to Visual Basic and to edtFTPnet.

Thanks,
no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

Re: WARNING: 'edtftp.log.level' not found or invalid

by support2 » Fri Feb 18, 2005 4:18 am

You probably aren't using a configuration XML file by which the logger gets its default level.

You can ignore the warning, it is just letting you know that it can't find the setting.
no avatar
User

eduardog

Posts

2

Joined

Fri Feb 18, 2005 4:00 am

by eduardog » Fri Feb 18, 2005 4:26 am

Man this works great!.

Thanks, :D
no avatar
User

KCI

Using App.config

by KCI » Thu Feb 24, 2005 3:59 am


Who is online

Users browsing this forum: No registered users and 10 guests

Powered by phpBB ® | phpBB3 Style by KomiDesign