Skip to content

Commit

Permalink
CHANGELOG.md for 0.9.3 updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Unitech committed Jul 29, 2014
1 parent 78d285f commit 6a89c42
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@

# 0.9.3

- Critical bug on fork mode fixed (stream close)
- Advanced log display interface pm2-logs #589
- Simple log timestamp via --log-date-format (with momentJS formating) #183
- Possible to pass arguments via scriptArg with programmatic PM2 #591
- Gentoo startup script generation #592
- Fix run-as-user and run-as-group in fork mode #582
- Documentation update

# 0.9.2

- max_restart enabled
Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,8 @@ $ pm2 start app.js -i max -- -a 23 # Pass arguments after -- to app.js
$ pm2 start app.js -x # Start app.js in fork mode instead of cluster
$ pm2 start app.js -x -- -a 23 # Start app.js in fork mode and pass arguments (-a 23)

$ pm2 start app.js --log-date-format ""YYYY-MM-DD HH:mm Z" # Log will be prefixed with custom time format
$ pm2 start app.js --name serverone # Start a process an name it as server one
# you can now stop the process by doing
# pm2 stop serverone
Expand Down Expand Up @@ -362,7 +364,9 @@ $ pm2 reloadLogs
```bash
--merge-logs : merge logs from different instances but keep error and out separated
--log-date-format <format>: prefix logs with formated timestamp (http://momentjs.com/docs/#/parsing/string-format/)
```
<a name="a5"/>
## Clustering
Expand Down Expand Up @@ -527,6 +531,7 @@ You can define parameters for your apps in `processes.json`:
"name" : "echo",
"script" : "examples/args.js",
"args" : "['--toto=heya coco', '-d', '1']",
"log-date-format" : "YYYY-MM-DD HH:mm Z",
"ignoreWatch" : ["[\\/\\\\]\\./", "node_modules"],
"watch" : "true",
"cwd" : "/this/is/a/path/to/start/script",
Expand All @@ -538,6 +543,7 @@ You can define parameters for your apps in `processes.json`:
"name" : "api",
"script" : "./examples/child.js",
"instances" : "4",
"log-date-format" : "YYYY-MM-DD",
"error_file" : "./examples/child-err.log",
"out_file" : "./examples/child-out.log",
"pid_file" : "./examples/child.pid",
Expand Down Expand Up @@ -596,6 +602,7 @@ Note that if you execute `pm2 start node-app-2` again, it will spawn an addition
"cwd" : "/srv/node-app/current",
"args" : "['--toto=heya coco', '-d', '1']",
"script" : "bin/app.js",
"log-date-format" : "YYYY-MM-DD HH:mm Z",
"error_file" : "/var/log/node-app/node-app.stderr.log",
"out_file" : "log/node-app.stdout.log",
"pid_file" : "pids/node-geo-api.pid",
Expand Down

0 comments on commit 6a89c42

Please sign in to comment.