Skip to content

Commit

Permalink
feat (client-sdk) avoid log buffer creation
Browse files Browse the repository at this point in the history
 - set log reporting policy to immediate send log messages to server during server code task invocation
  • Loading branch information
vengrov committed Mar 26, 2016
1 parent a1f6d98 commit 8ce9088
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/server-code/runners/tasks/executor.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ function initClientSdk(task) {
if (task.initAppData) {
Backendless.serverURL = task.initAppData.url;
Backendless.initApp(task.applicationId, task.initAppData.secretKey, task.initAppData.appVersionName);
Backendless.Logging.setLogReportingPolicy(1, 0);
}
}

Expand Down

0 comments on commit 8ce9088

Please sign in to comment.