minor mods

This commit is contained in:
ac360 2017-08-12 14:30:29 -07:00
parent 48d6b4bcba
commit 7ff2e51b17
2 changed files with 4 additions and 4 deletions

View File

@ -65,7 +65,6 @@ const getMessage = msg => {
}
module.exports = msg => {
console.log(msg)
const processedMsg = getMessage(msg);
if (processedMsg) {
log(`${prefix}${processedMsg}${os.EOL}`);

View File

@ -14,6 +14,7 @@ const registerFunctionsToEventGateway = require('./registerFunctionsToEventGatew
const splitLinesAndLog = data => {
const str = data.toString('utf8');
console.log(str)
// TODO makes sure this doesn't affect escaped newlines inside event content
const lines = str.split(/\r?\n/g);
_.forEach(lines, line => {
@ -29,10 +30,10 @@ function manageEventGateway(service, eventsPort, configurationPort, localEmulato
logServerless('Initializing Event Gateway...');
const args = [
`--embed-data-dir=${getTmpDirPath()}`,
`-embed-data-dir=${getTmpDirPath()}`,
'-dev',
'-log-level=debug',
'--dev',
'--log-format=json',
'-log-format=json',
`-config-port=${configurationPort}`,
`-events-port=${eventsPort}`,
];