96 Commits

Author SHA1 Message Date
Unitech
12725ea4c4 fix: consolidate unhealthy system spawn behavior #3229 #3954 2018-12-27 15:12:51 +01:00
Unitech
2bfaaca806 feature: add exponential backoff restart delay via --exp-backoff-restart-delay 2018-09-27 17:05:40 +02:00
Unitech
71c6e749c6 remove double new line 2018-09-24 17:21:46 +02:00
Unitech
0f1c2c6a24 faster logs throughput date parsing by replacing moment by date-fns in PM2 Daemon + homogeneize all logs with same date format + factorize ForkMode logging 2018-09-23 23:33:42 +02:00
Unitech
9f3b5ea80c CHANGE: now log_date_format is attached by default + fix multi line #2792 + cleanup travis file 2018-09-23 19:44:41 +02:00
Unitech
ccb35ef8ca proper support of setting the right user in fork mode (uid/user resolution + HOME set) 2018-09-23 17:54:07 +02:00
Yazan Medanat
b8b48e83f7 refactor: removes unused imports. 2018-07-19 10:18:16 -04:00
Nathanaël Lécaudé
f305d6d06e
Correct typo 2018-02-16 11:45:05 -05:00
Nathanaël Lécaudé
767c36f5ad Check if windowsHide is bool 2018-02-16 11:18:13 -05:00
Nathanaël Lécaudé
82375af8ab Revert to cleaner check 2018-02-15 11:17:33 -05:00
Nathanaël Lécaudé
031a6686f3
Fix 'start pm2 inside pm2' test 2018-02-14 18:51:34 -05:00
Nathanaël Lécaudé
387270d480 Add windowsHide option so it can be set via process file, fixes #3425 2018-02-13 11:54:23 -05:00
soyuka
28d28b4995 Implement windowsHide in God spawn methods 2017-11-02 19:23:36 +01:00
Conner McNamara
73048e670c Do not ignore log_file when out(err)_file are NULL 2017-09-15 13:08:26 -07:00
Alexandre Strzelewicz
35c71c6b1f #3037 #3045 broadcast logs on pm2 bus even if disabled via NULL 2017-08-02 18:07:13 +02:00
Unitech
d8158316c5 \#2997 \#866 \#1689 enhance disable-logs 2017-07-05 14:06:26 +02:00
Unitech
5bd44dea2e #2997 #866 #1689 add --disable-logs option 2017-07-04 18:43:03 +02:00
Unitech
3f251a2233 quick fix 2017-02-02 21:00:55 +01:00
Unitech
e731d930f6 #2541 fix setting node.js version and restart via configuration file 2017-02-02 18:44:34 +01:00
Unitech
91fc3d5cb2 (logs) send processed logs to PM2 bus 2017-02-02 15:41:01 +01:00
vmarchaud
613979da2f (tests) add test for json log feature #2663 2017-01-31 16:26:10 +01:00
vmarchaud
77ce1cd7ee (logs) refactor to allow to directly output json #2663 2017-01-30 18:26:32 +01:00
vmarchaud
1d19cf2269 (feature) wait for application ready event when asked 2016-10-26 18:53:05 +02:00
Unitech
e62c439caa (cron) #2395 harden cron external restart 2016-09-24 16:37:59 +02:00
Yoanatan Hengli
cdc7f7e581 When cron onTick message will send to God from the child_process and God will kill it with SIGINT 2016-09-22 14:34:00 +03:00
Unitech
6a2d52d400 upgrade fclone + add back v8-profiler + drop findByFullPath in Daemon + add CLU formating + test with development pm2-axon-rpc 2016-07-03 14:18:03 +02:00
Unitech
037e025b5c remove console.log on process restart in fork mode 2016-06-22 01:48:08 +02:00
Unitech
9947c321d7 start to parallelize test + no-daemon implemented + fix paths 2016-06-12 01:37:38 +02:00
Unitech
503b1bf5a3 adapt tests 2016-06-09 01:22:57 +02:00
Unitech
d1249ff45d progress 2016-06-08 19:21:37 +02:00
Arkotek
610d68f8d7 remove useless require 2016-05-27 04:37:45 +02:00
Unitech
20344a58f1 #2188 remove any possibility for Daemon to require Satan.js 2016-05-27 00:59:50 +02:00
Unitech
c3c0fcff46 add Copyright header to each file 2016-03-22 23:33:43 +01:00
Unitech
436a2ff233 small code fixes 2016-03-22 14:19:47 +01:00
Unitech
56bf0b46c0 #1800 display node.js version when doing pm2 show <app_name> 2016-01-28 18:44:05 +01:00
Unitech
b9256cea26 slightly change prototype of .sendDataToProcessId 2015-12-08 19:29:28 +01:00
jshkurti
84f93edadb Merge branch 'development' into wrapped_fork 2015-06-30 12:21:27 +02:00
jshkurti
360d14c477 refactor pm2 logs : DONE 2015-06-10 17:23:25 +02:00
Unitech
4848e5c974 avoid safe stringification and JSON.parsing to deep copy and remove circular dependencies + centralize object cloning + reduce data in pm2 pipeline + avoid complex object attached to pm2_env #1326 #1314 2015-06-09 17:30:16 +02:00
Unitech
0da9ad00b3 unblock/release data pipeline #1326 #1314 2015-06-09 15:14:08 +02:00
jshkurti
1981ab049d wrapped fork_mode + various test 2015-04-29 19:25:59 +02:00
--global
5be0c52767 on max memory reached reload instead of restart 2015-04-22 16:53:14 -04:00
Unitech
e245d894a7 Destroy/end/close when reloading logs in fork mode 2015-04-14 23:46:09 -04:00
Unitech
9f11dd7720 Fix file descriptor leak.. 2015-04-14 23:13:16 -04:00
jshkurti
842b823672 fix #1111 : More verbosity on writeFileSync errors 2015-03-20 18:28:02 +01:00
jshkurti
dc010d7133 fix #1068 #1096 maybe 2015-03-17 18:16:55 +01:00
Edwin
40556d4195 Debug statement for logging path when spawning a child 2015-02-02 10:31:10 -05:00
Tjatse
fe34aac8dc fixed critical bug: process.env flattens all env-vars. 2014-12-23 10:59:46 +08:00
Unitech
f1e2b17ec4 tiny cluster refactor 2014-12-12 14:51:50 +01:00
Unitech
21306731e4 Move startLogging method into Utility.js to avoid memory overhead from Common.js 2014-11-21 12:04:43 +01:00