Skip to content

Commit

Permalink
Use warn as correct logger method
Browse files Browse the repository at this point in the history
  • Loading branch information
orangejulius committed Jan 17, 2019
1 parent fe222df commit addfd07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/create_index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ try {
}

if (http.maxHeaderSize === undefined) {
logger.warning('You are using a version of Node.js that does not support the --max-http-header-size option.' +
logger.warn('You are using a version of Node.js that does not support the --max-http-header-size option.' +
'You may experience issues when using Elasticsearch 5.' +
'See https://github.com/pelias/schema#compatibility for more details.');
}
Expand Down

0 comments on commit addfd07

Please sign in to comment.