Skip to content

Commit

Permalink
NOISSUE - Add info log-level for development (#427)
Browse files Browse the repository at this point in the history
Signed-off-by: drasko <[email protected]>
  • Loading branch information
drasko authored and nmarcetic committed Oct 24, 2018
1 parent ad5c66f commit 9cacf57
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -74,5 +74,8 @@ release:
docker tag mainflux/mqtt mainflux/mqtt:$(version)
$(call docker_push,$(version))

run:
rundev:
cd scripts && ./run.sh

run:
docker-compose -f docker/docker-compose.yml up
10 changes: 5 additions & 5 deletions scripts/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,29 +30,29 @@ gnatsd &
###
# Users
###
$BUILD_DIR/mainflux-users &
MF_USERS_LOG_LEVEL=info $BUILD_DIR/mainflux-users &

###
# Things
###
MF_THINGS_HTTP_PORT=8182 MF_THINGS_GRPC_PORT=8183 $BUILD_DIR/mainflux-things &
MF_THINGS_LOG_LEVEL=info MF_THINGS_HTTP_PORT=8182 MF_THINGS_GRPC_PORT=8183 $BUILD_DIR/mainflux-things &

###
# HTTP
###
MF_HTTP_ADAPTER_PORT=8185 MF_THINGS_URL=localhost:8183 $BUILD_DIR/mainflux-http &
MF_HTTP_ADAPTER_LOG_LEVEL=info MF_HTTP_ADAPTER_PORT=8185 MF_THINGS_URL=localhost:8183 $BUILD_DIR/mainflux-http &

###
# WS
###
MF_WS_ADAPTER_PORT=8186 MF_THINGS_URL=localhost:8183 $BUILD_DIR/mainflux-ws &
MF_WS_ADAPTER_LOG_LEVEL=info MF_WS_ADAPTER_PORT=8186 MF_THINGS_URL=localhost:8183 $BUILD_DIR/mainflux-ws &

###
# MQTT
###
# Switch to top dir to find *.proto stuff when running MQTT broker
cd ..
MF_THINGS_URL=localhost:8183 node mqtt/mqtt.js &
MF_MQTT_ADAPTER_LOG_LEVEL=info MF_THINGS_URL=localhost:8183 node mqtt/mqtt.js &
cd -

###
Expand Down

0 comments on commit 9cacf57

Please sign in to comment.