| | |
| | | 'expectedRC' : 0 |
| | | } |
| | | </call> |
| | | |
| | | |
| | | |
| | | <call function="'dsconfigGet'"> |
| | | { 'dsInstanceHost' : DIRECTORY_INSTANCE_HOST, |
| | | 'dsInstancePort' : DIRECTORY_INSTANCE_PORT, |
| | |
| | | 'attributeName' : 'rotation-policy' |
| | | } |
| | | </call> |
| | | |
| | | <call function="'Sleep'"> |
| | | { 'sleepForMilliSeconds' : 20000 } |
| | | </call> |
| | | |
| | | |
| | | <!-- Starting loop --> |
| | | <script> |
| | |
| | | </script> |
| | | </sequence> |
| | | </iterate> |
| | | |
| | | <!-- set nbLog when we find a log file --> |
| | | <script> |
| | | nbLog=1 |
| | |
| | | 'A log rotation has been done. The new rotation file is "%s" (size = %s) ' % (newlogName,newlogSize) |
| | | </message> |
| | | |
| | | <if expr="int(newlogSize) < 4100 and int(newlogSize) > 4000" > |
| | | <if expr="int(newlogSize) < 4100 and int(newlogSize) > 3900" > |
| | | <sequence> |
| | | <message> |
| | | 'SUCCESS. The rotation based on size limit is successfull. The file "%s" (size = %s) ' % (newlogName,newlogSize) |