Skip to content

Commit 8ce9088

Browse files
committed
feat (client-sdk) avoid log buffer creation
- set log reporting policy to immediate send log messages to server during server code task invocation
1 parent a1f6d98 commit 8ce9088

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/server-code/runners/tasks/executor.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ function initClientSdk(task) {
6666
if (task.initAppData) {
6767
Backendless.serverURL = task.initAppData.url;
6868
Backendless.initApp(task.applicationId, task.initAppData.secretKey, task.initAppData.appVersionName);
69+
Backendless.Logging.setLogReportingPolicy(1, 0);
6970
}
7071
}
7172

0 commit comments

Comments
 (0)