Program does not terminate
See original GitHub issueI’ve tried using the code from the readme. The message does appear in my AWS CloudWatch console, but the program does not terminate. I am using nodejs 6.2.1.
const config = require('./config.json')
const winston = require('winston')
const WinstonCloudWatch = require('winston-cloudwatch')
const moment = require('moment')
winston.add(WinstonCloudWatch, {
logGroupName: config.cloudWatchLogGroup,
logStreamName: config.cloudWatchStream,
awsRegion: config.region
});
winston.info('this is a message sent at ' + moment().format('YYYY-MM-DD-hhmm') + ' from winston-cloudwatch.js');
Thanks for any assistance.
Issue Analytics
- State:
- Created 7 years ago
- Comments:16 (10 by maintainers)
Top Results From Across the Web
Why Java program not terminating - Stack Overflow
That's why JVM won't shut down. You need to either use daemon-threads, or shutdown the pool explicitly. Here's an example: ExecutorService ex = ......
Read more >Program is not getting terminated - CodeRanch
The Java Virtual Machine continues to execute threads until either of the following occurs: The exit method of class Runtime has been called...
Read more >Write a C program that does not terminate ... - Tutorialspoint
In this section we will see how to write a program in C that cannot be terminated by the Ctrl + C key....
Read more >Write a C program that does not terminate ... - GeeksforGeeks
Write a C program that doesn't terminate when Ctrl+C is pressed. It prints a message “Cannot be terminated using Ctrl+c” and continues ...
Read more >C++ program termination | Microsoft Learn
Learn about the standard ways to exit a C++-language program.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@lazywithclass - this looks great! btw i just got
kthxbye
hahhahaha - perfect@yonahforst haha 😄 Ok, I will have a look at the other method. More on that later on.