iguazio.dashboard-controls 1.2.2 → 1.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iguazio.dashboard-controls",
3
- "version": "1.2.2",
3
+ "version": "1.2.3",
4
4
  "main": "dist/js/iguazio.dashboard-controls.js",
5
5
  "description": "Collection of resources (such as CSS styles, fonts and images) and AngularJs 1.x components and services to share among different Iguazio repos.",
6
6
  "repository": {
@@ -169,7 +169,7 @@
169
169
  "LOGGER_DESTINATION": "Logger destination",
170
170
  "LOGGER_LEVEL": "Logger level",
171
171
  "LOGGING": "Logging",
172
- "LOGS_LINES_LIMITATION": "Only the latest 10000 lines are displayed. <br> To access the full log history, download the complete log file.",
172
+ "LOGS_LINES_LIMITATION": "Note: Only the last 10,000 rows are displayed. <br> To download up to 100,000 rows, click on the 'Download' button.",
173
173
  "MAX": "Max",
174
174
  "MAX_REPLICAS": "Maximum number of replicas (default: {{default}})",
175
175
  "MAX_WORKERS": "Max Workers",
@@ -181,8 +181,9 @@
181
181
  function prepareLogs(logs) {
182
182
  return logs.map(function (logData) {
183
183
  var log = lodash.get(logData, '_source', {});
184
+ var level = log.level ? ' (' + log.level + ') ' : '';
184
185
 
185
- return log['@timestamp'] + ' ' + log.name + ' (' + log.level + ') ' +
186
+ return log['@timestamp'] + ' ' + log.name + level +
186
187
  lodash.get(log, 'message', '') + ' ' + JSON.stringify(lodash.get(log, 'more', {}));
187
188
  });
188
189
  }