Incorporate __name__ into ycdldb's logger.
This commit is contained in:
		
							parent
							
								
									b659a6da5f
								
							
						
					
					
						commit
						3f32ab1664
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -485,7 +485,7 @@ class YCDLDB( | |||
|             raise exceptions.BadDataDirectory(self.data_directory.absolute_path) | ||||
| 
 | ||||
|         # LOGGING | ||||
|         self.log = vlogging.getLogger('ycdl:%s' % self.data_directory.absolute_path) | ||||
|         self.log = vlogging.getLogger(f'{__name__}:{self.data_directory.absolute_path}') | ||||
|         self.log.setLevel(log_level) | ||||
|         self.youtube.log.setLevel(log_level) | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue