change default log name
This commit is contained in:
@@ -10,7 +10,7 @@ class Pihole:
|
||||
__VERSION__ = '1.0.0'
|
||||
|
||||
_log = logging.getLogger(__name__)
|
||||
__logFile = logging.FileHandler(__name__)
|
||||
__logFile = logging.FileHandler('Pihole.log')
|
||||
__logPrinter = logging.StreamHandler()
|
||||
__logFormat = logging.Formatter('%(asctime)s %(levelname)s \t %(name)s : %(message)s')
|
||||
__logFile.setFormatter(__logFormat)
|
||||
|
||||
Reference in New Issue
Block a user