-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix trimming of long lines, more tests
- Loading branch information
laino
committed
Mar 12, 2018
1 parent
84a376f
commit 759df37
Showing
8 changed files
with
145 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
process.stdout.write('TWO LINES\r\nAT ONCE\r\n'); | ||
process.stdout.write('A LINE IN'); | ||
setTimeout(() => { | ||
process.stdout.write(' TWO PARTS\r\n'); | ||
process.send('ready'); | ||
}, 100); |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
// sample-config.js | ||
module.exports = { | ||
'applications': [{ | ||
'name': 'app', | ||
'ready-on': 'message', | ||
'run': './../apps/stdout.js' | ||
}, { | ||
'name': 'trim', | ||
'ready-on': 'message', | ||
'run': './../apps/stdout.js', | ||
'max-log-line-length': 5, | ||
}, { | ||
'name': 'expire', | ||
'ready-on': 'message', | ||
'run': './../apps/stdout.js', | ||
'log-retention-timeout': 400, | ||
}, { | ||
'name': 'spammy', | ||
'ready-on': 'message', | ||
'stop-signal': 'message', | ||
'run': './../apps/spammy-app.js', | ||
'max-buffered-log-bytes': 20, | ||
}] | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters