Netflix/Conductor prints too many dynomite related logs
up vote
2
down vote
favorite
I'm using Netflix/Conductor with docker-compose
. When I set the docker-compose.yml
file up I see too many lines related to dynomite. I think it consumes a lot of memory and slows down my system. I have to mention that Conductor doesn't use the official Netflix/Dynomite
image but it uses v1r3n/dynomite
image. Is there any way to reduce the amount of logs related to it? I know it's possible with grep to reduce logs, but I want to change the log level or use the official dynomite image. My current docker-file (by the way its the official version in Netflix/Conductor github repo):
# Docker compose for netflix conductor + elasticsearch + dynomite
version: '2'
services:
conductor-server:
environment:
- CONFIG_PROP=config.properties
image: conductor:server
build:
context: ../
dockerfile: docker/server/Dockerfile
ports:
- 8080:8080
links:
- elasticsearch:es
- dynomite:dyno1
conductor-ui:
environment:
- WF_SERVER=http://conductor-server:8080/api/
image: conductor:ui
build:
context: ../
dockerfile: docker/ui/Dockerfile
ports:
- 5000:5000
links:
- conductor-server
dynomite:
image: v1r3n/dynomite
elasticsearch:
image: elasticsearch:2.4
docker redis docker-compose netflix netflix-conductor
add a comment |
up vote
2
down vote
favorite
I'm using Netflix/Conductor with docker-compose
. When I set the docker-compose.yml
file up I see too many lines related to dynomite. I think it consumes a lot of memory and slows down my system. I have to mention that Conductor doesn't use the official Netflix/Dynomite
image but it uses v1r3n/dynomite
image. Is there any way to reduce the amount of logs related to it? I know it's possible with grep to reduce logs, but I want to change the log level or use the official dynomite image. My current docker-file (by the way its the official version in Netflix/Conductor github repo):
# Docker compose for netflix conductor + elasticsearch + dynomite
version: '2'
services:
conductor-server:
environment:
- CONFIG_PROP=config.properties
image: conductor:server
build:
context: ../
dockerfile: docker/server/Dockerfile
ports:
- 8080:8080
links:
- elasticsearch:es
- dynomite:dyno1
conductor-ui:
environment:
- WF_SERVER=http://conductor-server:8080/api/
image: conductor:ui
build:
context: ../
dockerfile: docker/ui/Dockerfile
ports:
- 5000:5000
links:
- conductor-server
dynomite:
image: v1r3n/dynomite
elasticsearch:
image: elasticsearch:2.4
docker redis docker-compose netflix netflix-conductor
I couldn't add a tag for netflix-dynomite or dynomite
– ksadjad
Nov 10 at 10:32
add a comment |
up vote
2
down vote
favorite
up vote
2
down vote
favorite
I'm using Netflix/Conductor with docker-compose
. When I set the docker-compose.yml
file up I see too many lines related to dynomite. I think it consumes a lot of memory and slows down my system. I have to mention that Conductor doesn't use the official Netflix/Dynomite
image but it uses v1r3n/dynomite
image. Is there any way to reduce the amount of logs related to it? I know it's possible with grep to reduce logs, but I want to change the log level or use the official dynomite image. My current docker-file (by the way its the official version in Netflix/Conductor github repo):
# Docker compose for netflix conductor + elasticsearch + dynomite
version: '2'
services:
conductor-server:
environment:
- CONFIG_PROP=config.properties
image: conductor:server
build:
context: ../
dockerfile: docker/server/Dockerfile
ports:
- 8080:8080
links:
- elasticsearch:es
- dynomite:dyno1
conductor-ui:
environment:
- WF_SERVER=http://conductor-server:8080/api/
image: conductor:ui
build:
context: ../
dockerfile: docker/ui/Dockerfile
ports:
- 5000:5000
links:
- conductor-server
dynomite:
image: v1r3n/dynomite
elasticsearch:
image: elasticsearch:2.4
docker redis docker-compose netflix netflix-conductor
I'm using Netflix/Conductor with docker-compose
. When I set the docker-compose.yml
file up I see too many lines related to dynomite. I think it consumes a lot of memory and slows down my system. I have to mention that Conductor doesn't use the official Netflix/Dynomite
image but it uses v1r3n/dynomite
image. Is there any way to reduce the amount of logs related to it? I know it's possible with grep to reduce logs, but I want to change the log level or use the official dynomite image. My current docker-file (by the way its the official version in Netflix/Conductor github repo):
# Docker compose for netflix conductor + elasticsearch + dynomite
version: '2'
services:
conductor-server:
environment:
- CONFIG_PROP=config.properties
image: conductor:server
build:
context: ../
dockerfile: docker/server/Dockerfile
ports:
- 8080:8080
links:
- elasticsearch:es
- dynomite:dyno1
conductor-ui:
environment:
- WF_SERVER=http://conductor-server:8080/api/
image: conductor:ui
build:
context: ../
dockerfile: docker/ui/Dockerfile
ports:
- 5000:5000
links:
- conductor-server
dynomite:
image: v1r3n/dynomite
elasticsearch:
image: elasticsearch:2.4
docker redis docker-compose netflix netflix-conductor
docker redis docker-compose netflix netflix-conductor
edited Nov 10 at 11:14
asked Nov 10 at 10:31
ksadjad
30219
30219
I couldn't add a tag for netflix-dynomite or dynomite
– ksadjad
Nov 10 at 10:32
add a comment |
I couldn't add a tag for netflix-dynomite or dynomite
– ksadjad
Nov 10 at 10:32
I couldn't add a tag for netflix-dynomite or dynomite
– ksadjad
Nov 10 at 10:32
I couldn't add a tag for netflix-dynomite or dynomite
– ksadjad
Nov 10 at 10:32
add a comment |
1 Answer
1
active
oldest
votes
up vote
2
down vote
accepted
you can expose stats/admin port 22222:
dynomite:
image: v1r3n/dynomite
ports:
- 22222:22222
and after that use admin api to decrease or increase log level and so on ( as described in https://github.com/Netflix/dynomite/wiki/REST )
to decrease log level following API muse be called :
curl -s http://localhost:22222/logleveldown
1
This works! But I still need to manually do this. Is there a way to decrease the log while I'm setting thedocker-compose.yml
file up?
– ksadjad
Nov 11 at 7:43
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53238060%2fnetflix-conductor-prints-too-many-dynomite-related-logs%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
accepted
you can expose stats/admin port 22222:
dynomite:
image: v1r3n/dynomite
ports:
- 22222:22222
and after that use admin api to decrease or increase log level and so on ( as described in https://github.com/Netflix/dynomite/wiki/REST )
to decrease log level following API muse be called :
curl -s http://localhost:22222/logleveldown
1
This works! But I still need to manually do this. Is there a way to decrease the log while I'm setting thedocker-compose.yml
file up?
– ksadjad
Nov 11 at 7:43
add a comment |
up vote
2
down vote
accepted
you can expose stats/admin port 22222:
dynomite:
image: v1r3n/dynomite
ports:
- 22222:22222
and after that use admin api to decrease or increase log level and so on ( as described in https://github.com/Netflix/dynomite/wiki/REST )
to decrease log level following API muse be called :
curl -s http://localhost:22222/logleveldown
1
This works! But I still need to manually do this. Is there a way to decrease the log while I'm setting thedocker-compose.yml
file up?
– ksadjad
Nov 11 at 7:43
add a comment |
up vote
2
down vote
accepted
up vote
2
down vote
accepted
you can expose stats/admin port 22222:
dynomite:
image: v1r3n/dynomite
ports:
- 22222:22222
and after that use admin api to decrease or increase log level and so on ( as described in https://github.com/Netflix/dynomite/wiki/REST )
to decrease log level following API muse be called :
curl -s http://localhost:22222/logleveldown
you can expose stats/admin port 22222:
dynomite:
image: v1r3n/dynomite
ports:
- 22222:22222
and after that use admin api to decrease or increase log level and so on ( as described in https://github.com/Netflix/dynomite/wiki/REST )
to decrease log level following API muse be called :
curl -s http://localhost:22222/logleveldown
answered Nov 11 at 7:20
Farid327
585
585
1
This works! But I still need to manually do this. Is there a way to decrease the log while I'm setting thedocker-compose.yml
file up?
– ksadjad
Nov 11 at 7:43
add a comment |
1
This works! But I still need to manually do this. Is there a way to decrease the log while I'm setting thedocker-compose.yml
file up?
– ksadjad
Nov 11 at 7:43
1
1
This works! But I still need to manually do this. Is there a way to decrease the log while I'm setting the
docker-compose.yml
file up?– ksadjad
Nov 11 at 7:43
This works! But I still need to manually do this. Is there a way to decrease the log while I'm setting the
docker-compose.yml
file up?– ksadjad
Nov 11 at 7:43
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53238060%2fnetflix-conductor-prints-too-many-dynomite-related-logs%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
I couldn't add a tag for netflix-dynomite or dynomite
– ksadjad
Nov 10 at 10:32