Repository: incubator-brooklyn
Updated Branches:
  refs/heads/master 076bf52ee -> 3e36892f7


Changes launch command to redirect nohup to /dev/null


Project: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/commit/12d996dc
Tree: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/tree/12d996dc
Diff: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/diff/12d996dc

Branch: refs/heads/master
Commit: 12d996dc5b9bc228e90737bed08843648b23433b
Parents: b2d3f33
Author: Martin Harris <[email protected]>
Authored: Wed Jul 8 14:36:47 2015 +0100
Committer: Martin Harris <[email protected]>
Committed: Wed Jul 8 14:36:47 2015 +0100

----------------------------------------------------------------------
 docs/guide/ops/launch.md | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/12d996dc/docs/guide/ops/launch.md
----------------------------------------------------------------------
diff --git a/docs/guide/ops/launch.md b/docs/guide/ops/launch.md
index 45d67bd..bdfa47d 100644
--- a/docs/guide/ops/launch.md
+++ b/docs/guide/ops/launch.md
@@ -8,12 +8,15 @@ layout: website-normal
 To launch Brooklyn, from the directory where Brooklyn is unpacked, run:
 
 {% highlight bash %}
-% nohup bin/brooklyn launch &
+% nohup bin/brooklyn launch > /dev/null 2&>1 &
 {% endhighlight %}
 
 With no configuration, this will launch the Brooklyn web console and REST API 
on [`http://localhost:8081/`](http://localhost:8081/).
 No password is set, but the server is listening only on the loopback network 
interface for security.
 Once [security is configured](brooklyn_properties.html), Brooklyn will listen 
on all network interfaces by default.
+By default, Brooklyn will write log messages at the INFO level or above to 
`brooklyn.info.log` and messgages at the
+DEBUG level or above to `brooklyn.debug.log`. Redirecting the output to 
`/dev/null` prevents the default console output
+being written to `nohup.out`.
 
 You may wish to [add Brooklyn to your path](#path-setup);
 assuming you've done this, to get information the supported CLI options 
@@ -195,4 +198,4 @@ nohup brooklyn launch --app 
brooklyn.demo.SingleWebServerExample --location loca
 {% endhighlight %}
 
 
-  
\ No newline at end of file
+  

Reply via email to