Netflix/Conductor prints too many dynomite related logs











up vote
1
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









share|improve this question
























  • I couldn't add a tag for netflix-dynomite or dynomite
    – ksadjad
    yesterday















up vote
1
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









share|improve this question
























  • I couldn't add a tag for netflix-dynomite or dynomite
    – ksadjad
    yesterday













up vote
1
down vote

favorite









up vote
1
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









share|improve this question















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited yesterday

























asked yesterday









ksadjad

1729




1729












  • I couldn't add a tag for netflix-dynomite or dynomite
    – ksadjad
    yesterday


















  • I couldn't add a tag for netflix-dynomite or dynomite
    – ksadjad
    yesterday
















I couldn't add a tag for netflix-dynomite or dynomite
– ksadjad
yesterday




I couldn't add a tag for netflix-dynomite or dynomite
– ksadjad
yesterday












1 Answer
1






active

oldest

votes

















up vote
1
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






share|improve this answer

















  • 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
    22 hours ago











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
});


}
});














 

draft saved


draft discarded


















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
































1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
1
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






share|improve this answer

















  • 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
    22 hours ago















up vote
1
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






share|improve this answer

















  • 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
    22 hours ago













up vote
1
down vote



accepted







up vote
1
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






share|improve this answer












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







share|improve this answer












share|improve this answer



share|improve this answer










answered 22 hours ago









Farid327

485




485








  • 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
    22 hours ago














  • 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
    22 hours ago








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
22 hours ago




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
22 hours ago


















 

draft saved


draft discarded



















































 


draft saved


draft discarded














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




















































































Popular posts from this blog

Florida Star v. B. J. F.

Error while running script in elastic search , gateway timeout

Adding quotations to stringified JSON object values