diff --git a/pyduino/__init__.py b/pyduino/__init__.py index 74adc29..a7cfe7c 100644 --- a/pyduino/__init__.py +++ b/pyduino/__init__.py @@ -8,7 +8,7 @@ __location__ = os.path.realpath(os.path.join(os.getcwd(), os.path.dirname(__file__))) -log_file_path = os.environ.get('PYDUINO_SLAVE_LOG','/var/log/pyduino/slave.log') +log_file_path = os.environ.get('PYDUINO_LOG','/var/log/pyduino/pyduino.log') os.makedirs(os.path.dirname(log_file_path), exist_ok=True) logging.basicConfig( @@ -18,4 +18,4 @@ logging.FileHandler(log_file_path), logging.StreamHandler() ] -) \ No newline at end of file +)