Is your feature request related to a problem? Please describe.
Dev / Local environments start with the same logging config as production-like environments.
Describe the solution you'd like
[ ] Add LOG4PERL_ROOT_CONF_PATH and LOG4PERL_MINION_CONF_PATH env variables that will be set to ./conf/log_dev.conf for local/dev environments, and ./conf/log.conf for production-like environments. Add a Perl variable to lib/ProductOpener/Config2_docker.pm called log4perl_root_conf_path and log4perl_minion_conf_path. Note: This needs to be added to production's Config2.pm as well.
[ ] (Docker) Add volume bind ./conf/log.conf:/opt/product-opener/conf/log.conf so that we can change the log level at runtime (can prove useful)
Is your feature request related to a problem? Please describe.
Dev / Local environments start with the same logging config as production-like environments.
Describe the solution you'd like
LOG4PERL_ROOT_CONF_PATH
andLOG4PERL_MINION_CONF_PATH
env variables that will be set to./conf/log_dev.conf
for local/dev environments, and./conf/log.conf
for production-like environments. Add a Perl variable tolib/ProductOpener/Config2_docker.pm
calledlog4perl_root_conf_path
andlog4perl_minion_conf_path
. Note: This needs to be added to production'sConfig2.pm
as well../conf/log.conf:/opt/product-opener/conf/log.conf
so that we can change the log level at runtime (can prove useful)