mirror of
https://github.com/saymrwulf/prophet.git
synced 2026-11-16 08:38:30 +00:00
Remove logging.root basicConfig on fbprophet import (#1336)
This commit is contained in:
parent
57990e6f50
commit
8c48f5b042
1 changed files with 1 additions and 3 deletions
|
|
@ -19,9 +19,7 @@ from fbprophet.models import StanBackendEnum
|
|||
from fbprophet.plot import (plot, plot_components)
|
||||
|
||||
logger = logging.getLogger('fbprophet')
|
||||
logger.addHandler(logging.NullHandler())
|
||||
if len(logger.handlers) == 1:
|
||||
logging.basicConfig(level=logging.INFO)
|
||||
logger.setLevel(logging.INFO)
|
||||
|
||||
|
||||
class Prophet(object):
|
||||
|
|
|
|||
Loading…
Reference in a new issue