126 Commits

Author SHA1 Message Date
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
7d6f173078 #2144 #1060 #2957 #2033 #1872 #2938 #971 Select application uid/gid via --uid --gid (CLI+JSON) + pm2 install --uid / --gid 2017-07-02 19:28:41 +02:00
Raphael Luba
1b0a89dc83 Fix: Callbacks for process.stdout / .stderr (#2810)
* Fix callbacks for process.stdout /.stderr

The overrides for `process.stdout.write` and `process.stderr.write` did not invoke the provided callbacks when they’re done.

* Fix: write callback is an optional parameter

* Append encoding parameter to all  calls
2017-05-21 01:51:43 +02: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
a7e231583e (containers) add variable env to set process title #2656 2017-01-24 11:29:10 +01:00
Unitech
3b1156efc5 (agent) bind only when linked + unlink agent pid 2017-01-17 14:30:50 +01:00
Unitech
a8fe5de635 (cli/god) force http + rename pmx_trace to trace 2017-01-11 21:10:01 +01:00
vmarchaud
f651a13f8e (pmx) inject by default http monitoring 2017-01-06 16:22:42 +01:00
vmarchaud
4205c9b36a (transactions) enable tracing via options 2017-01-04 17:02:11 +01:00
abluchet
7d454fc6e1 fix handle null rejection 2016-09-29 11:29:22 +02:00
Unitech
14537459ef (container) fix message 2016-09-29 10:46:29 +02:00
Unitech
501d1ff73a #2413 #2415 avoid exit on unhandledRejection but log it 2016-09-29 10:33:16 +02:00
Unitech
197ac4f3f1 #2405 #2406 drop unhandledRejection auto catch 2016-09-28 11:37:09 +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
abluchet
85170c83dd Add unhandledRejection 2016-09-17 13:53:04 +02:00
Unitech
8c965ec678 (cron) emit disconnect and wait for nextTick to exit 2016-08-03 00:51:05 -07:00
Unitech
e48358111d #2017 #2248 #2255 - add Typescript support 2016-07-02 13:05:15 +02:00
Piotr Roszatycki
27a430b37e catch an exception if coffe or livescript interpreter can't be loaded 2016-06-28 12:20:12 +02:00
Piotr Roszatycki
8602b7ea69 livescript support 2016-06-28 12:19:40 +02:00
Unitech
c3c0fcff46 add Copyright header to each file 2016-03-22 23:33:43 +01:00
Unitech
36449ba865 avoid double cb call in proccontainer 2016-03-14 12:21:16 +01:00
Unitech
cb377ce413 #2011 2016-03-11 15:29:04 +01:00
--global
242f564f4c fix: allow to disable source map auto detection [#1980] 2016-02-29 17:09:34 +01:00
--global
b74ca35d2e feature: add source map support [#1980] 2016-02-28 22:32:03 +01:00
Unitech
56bf0b46c0 #1800 display node.js version when doing pm2 show <app_name> 2016-01-28 18:44:05 +01:00
Unitech
256da4822c Fix cluster kill signal + avoid writing on std output when proc disconnected #1819 2015-12-07 16:23:26 +01:00
Unitech
66536fd423 #1639 2015-09-23 15:36:54 +02:00
jshkurti
04c72a7583 fix #1524 2015-08-13 19:28:45 +02:00
jshkurti
7227042eaf trying to fix tests 2015-08-07 12:36:32 +02:00
jshkurti
5faefd2ac8 new flag: --no-pmx 2015-08-05 19:15:25 +02:00
jshkurti
0ab7248805 fix : Channel closed error in ProcessContainer 2015-06-19 14:48:55 +02:00
jshkurti
360d14c477 refactor pm2 logs : DONE 2015-06-10 17:23:25 +02:00
Unitech
0d916841ef add back pmx 2015-06-03 11:11:47 +02:00
jshkurti
956e0fc521 no pmx [test] 2015-05-28 17:07:55 +02:00
--global
911ae4e299 next-gen-js 2015-05-01 19:24:26 -04:00
jshkurti
fa33959f47 fix #1146 2015-04-15 18:16:15 +02:00
Unitech
d0a7a8abc6 Destroy/end/close when reloading logs in cluster mode 2015-04-14 23:47:18 -04:00
jshkurti
c00543aad1 cluster_mode: now gives a neutral name to the worker process title 2015-04-10 18:49:25 +02:00
jshkurti
842b823672 fix #1111 : More verbosity on writeFileSync errors 2015-03-20 18:28:02 +01:00
jshkurti
f99176e8dc travis test 2015-03-19 18:22:19 +01:00
Unitech
f7156d10ba no domain in test mode 2015-02-20 15:02:45 -05:00
Unitech
05fce70a5a add back worker 2015-02-19 11:55:20 -05:00
Unitech
63684d15de auto pmx init in cluster mode 2015-02-19 11:20:49 -05:00
Unitech
3ed9411634 replace axm module by pmx 2015-02-02 22:03:31 -05:00
Tjatse
3598582f0b Fixed #951 2015-01-28 12:56:02 +08:00
Tjatse
fe34aac8dc fixed critical bug: process.env flattens all env-vars. 2014-12-23 10:59:46 +08:00
Unitech
17e3979c79 fix in process container 2014-12-12 17:17:32 +01:00