Skip to content

Commit 522f382

Browse files
authored
Update xmlToJson.js logs (#29)
* Update xmlToJson action logs
1 parent fbc9952 commit 522f382

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 1.2.1 (March 30, 2020)
2+
3+
* Minor logs impovements in "XML to JSON" action
4+
15
## 1.2.0 (January 30, 2020)
26

37
* Update sailor version to 2.6.1

lib/actions/xmlToJson.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const xml2Json = require('../xml2Json.js');
88
* @param cfg configuration that is account information and configuration field values
99
*/
1010
module.exports.process = function processAction(msg, cfg) {
11-
this.logger.debug('Action started, message=%j cfg=%j', msg, cfg);
11+
this.logger.trace('Action started, message=%j cfg=%j', msg, cfg);
1212
if (!msg.body || !msg.body.xmlString) {
1313
this.emit('error', 'Missing XML String as input');
1414
this.emit('end');

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "xml",
3-
"version": "1.2.0",
3+
"version": "1.2.1",
44
"description": "Integration component to work with XML fiels",
55
"homepage": "http://www.elastic.io",
66
"author": {

0 commit comments

Comments
 (0)