Hi,
I wrote a custom service in Java Language, and I defined a LOGGER as:
private static final Logger LOGGER = Backendless.Logging.getLogger(MyTest.class);
I didn’t create any threads, just use the main one. And only me testing the service.
Then I got this log data from console:
2016-07-21 08:13:35,665 | com…
2016-07-21 08:17:01,315 | com…
2016-07-21 08:13:35,898 | com…
2016-07-21 08:14:09,549 | com…
2016-07-21 08:17:01,432 | com…
2016-07-21 08:14:09,783 | com…
2016-07-21 08:13:36,437 | com…
As you can see, the time is not continuous. Can anyone help me on this?
Thanks,
Nam Nguyen
Is that because I called the service many times, and my server code is running on difference machines?
no. It’s mixed, sometime the last log located before the first log. This is my log:
2016-07-21 09:06:26,147 | LogUtils | DEBUG | EXIT : 1469091983237 + 2901
....
2016-07-21 09:06:23,243 | LogUtils | DEBUG | ENTER : 1469091983237
....
1469091983237 is the time when the method is involved, and 2901 is (System.currentTimeMillis() - involvedTime))
Are you using Standalone? Because we don’t provide free support for Standalone version, due to our Support Policy.
Hi Sergey,
I’m using “hosted” service. I wrote my code in Java, exported to *.jar file, then uploaded to backendless server by backendless’s web console…
Thanks,