From version 20.2
edited by Denis Gervalle
on 2019/05/21 11:49
To version 21.1
edited by Denis Gervalle
on 2019/05/21 12:48
Change comment: There is no comment for this version

Summary

Details

ExtensionCode.ExtensionClass[0]
Description
... ... @@ -38,10 +38,11 @@
38 38  {{job id="{{velocity}}$!request.jobId{{/velocity}}" start="{{velocity}}$!request.confirm{{/velocity}}"}}
39 39  {{groovy}}
40 40   def log = services.logging.getLogger(doc.fullName)
41 + services.logging.setLevel(doc.fullName, LogLevel.INFO);
41 41   services.progress.pushLevel(5);
42 42   for(int i=0; i<5; i++) {
43 43   services.progress.startStep();
44 - log.warn('Step {}', i);
45 + log.info('Step {}', i);
45 45   sleep(1000);
46 46   if (i == 3) {
47 47   log.error("Failed");

Get Connected