-
April 23rd, 2015, 09:22 AM
#1
Ok, sorry for the complication on terms.
So, you wrote that source file; then you must have compiled it into some executable.
This is the executable that, in our terms, runs the Remote Server; it links our .NET SDK library and hosts your Remote Adapter.
This executable also links log4net and we have to configure it to show the log produced by the library.
The configuration can be made in several ways; we suggest the following steps:
- Ensure that the line
[assembly:log4net.Config.XmlConfigurator()]
is inserted in the header of the previous source code;
you can mimic this example.
Obviously, if you should have to add the line, you must recompile. - Add an "application configuration file" which contains the logback configuration.
You can mimic this example.
This file must be placed in the same directory as the Remote Server executable and named the same with a trailing ".config"; here is a reference documentation.
Then rerun the Remote Server.
Note that the log4net configuration in the "application configuration file" should be customized for your needs.
With reference to the example provided above, we suggest:
- keeping the current appender configuration, which produces the "DotNetServer.log" file;
- setting all loggers to DEBUG level, but only for the time of this investigation.
Similar Threads
-
By engcoder in forum Adapter SDKs
Replies: 7
Last Post: April 20th, 2015, 09:10 AM
-
By emese in forum Adapter SDKs
Replies: 3
Last Post: March 4th, 2011, 11:35 PM
-
By CitiMan in forum Adapter SDKs
Replies: 4
Last Post: November 21st, 2008, 05:24 PM
-
By rd2008 in forum General
Replies: 1
Last Post: November 20th, 2008, 09:32 AM
-
By Waddy in forum General
Replies: 2
Last Post: March 16th, 2007, 06:06 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 09:55 PM.
Bookmarks