[WIP] configure loglevel for salt and python#619
Conversation
|
Still need a good idea how to configure log4j.properties for tomcat and taskomatic |
|
I think best would be to allow for a new parameter which is a map from log level to class or package names. It can be passed as-is via grains, then salt should pick it up and calculate lines to add to Example: java_logging = {
"DEBUG" : ["com.suse.manager.tasks, com.suse.manager.reactor.PGEventListener"],
"INFO" : ["com.redhat.rhn.frontend.action.LoginAction"],
}Should result in: log4j.logger.com.redhat.rhn.frontend.action.LoginAction=INFO
log4j.logger.com.suse.manager.tasks=DEBUG
log4j.logger.com.suse.manager.reactor.PGEventListener=DEBUG ( Note that the Any plans to finish this PR? :-) |
|
Is this still relevant or can we close this PR? |
Warning
In most cases, it is not enough if you modify the terraform modules at
modules/libvirt. Check if you also need changes atmodules/openstackandmodules/aws.What does this PR change?
Configure logging and loglevel via main.tf .
As of now for salt and python backend.