Incorporate __name__ into photodb's logger.
This commit is contained in:
parent
9e6f8041fb
commit
7d454a03ac
1 changed files with 1 additions and 1 deletions
|
@ -1760,7 +1760,7 @@ class PhotoDB(
|
||||||
raise exceptions.BadDataDirectory(self.data_directory.absolute_path)
|
raise exceptions.BadDataDirectory(self.data_directory.absolute_path)
|
||||||
|
|
||||||
# LOGGING
|
# LOGGING
|
||||||
self.log = vlogging.getLogger('etiquette:%s' % self.data_directory.absolute_path)
|
self.log = vlogging.getLogger(f'{__name__}:{self.data_directory.absolute_path}')
|
||||||
self.log.setLevel(log_level)
|
self.log.setLevel(log_level)
|
||||||
|
|
||||||
# DATABASE
|
# DATABASE
|
||||||
|
|
Loading…
Reference in a new issue