Commit a0b02c3df507588949a5285b98679c0883cbf160
1 parent
5bfbabf9
Exists in
web_steps_improvements
and in
11 other branches
script/development: also display API log
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
script/development
... | ... | @@ -23,7 +23,7 @@ start() { |
23 | 23 | trap stop INT TERM EXIT |
24 | 24 | whenever --write-crontab --set 'environment=development' |
25 | 25 | mkdir -p log |
26 | - touch log/development.log | |
26 | + touch log/development.log log/development_api.log | |
27 | 27 | if [ -z "$RAILS_RELATIVE_URL_ROOT" ]; then |
28 | 28 | unicorn_rails --config-file lib/noosfero/unicorn.rb --daemonize $@ |
29 | 29 | else |
... | ... | @@ -32,7 +32,7 @@ start() { |
32 | 32 | --config-file lib/noosfero/unicorn.rb \ |
33 | 33 | --daemonize |
34 | 34 | fi |
35 | - tail -n 0 -f log/development.log || true | |
35 | + tail -n 0 -f log/development.log log/development_api.log || true | |
36 | 36 | } |
37 | 37 | |
38 | 38 | start $@ | ... | ... |