Jovo writes empty lines to console


#1

We’re running our Alexa skills on a Node.js server and use the console output for debugging and informational output. Unfortunately Jovo outputs lots of empty lines to the console when it’s active (no other output, just empty lines).

Is there any way to avoid this?


#2

Hm, that’s weird.

How do you start the app? Could you post the output?


#3

I start it from the command line (on a remote Node.js server) with “node app.js”.

See screenshot. The text you see is (intended) output through “console.log”. The empty lines are somehow added by Jovo. Maybe this is suppressed debug output where the empty lines are unintentionally kept in?


#4

Never seen this before. We had some issues with special character formats in the console though. You can deactivate the formatting:
In your app.js

const { Log } = require('jovo-core');

Log.config.appenders.console.ignoreFormatting = true;


#5

That fixed it. Thanks a lot.


closed #6