-
March 28th, 2022, 04:00 PM
#2
Hello,
What server version are you using? It is strange that the server doesn’t log anything. Please make sure that, when you are debugging the server in a test environment, the logger named LightstreamerLogger.requests (in the file lightstreamer_log_conf.xml) is set at INFO at least.
Anyway, the best way to investigate such kind of problems is to activate the client internal logger and send us an extract of the generated log.
To enable the logging, you should add to your code the following lines:
var log = new SimpleLoggerProvider();
log.addLoggerAppender(new ConsoleAppender("DEBUG", "*"));
LightstreamerClient.setLoggerProvider(log);
For instance, you can add them before the initial creation of the instance of LightstreamerClient.
Keep in mind that the log is very verbose and it should be activated only in test environment.
Regards
Similar Threads
-
By abcdefg in forum General
Replies: 25
Last Post: September 28th, 2016, 10:33 AM
-
By shifter1 in forum Client SDKs
Replies: 1
Last Post: November 18th, 2013, 09:14 AM
-
By Adrian Parker in forum Client SDKs
Replies: 2
Last Post: November 21st, 2011, 03:03 PM
-
By Alessandro in forum Adapter SDKs
Replies: 0
Last Post: November 14th, 2008, 04:53 PM
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 12:10 PM.
Bookmarks