Use g_message and not g_debug when removing song
When adding or updating a song, we get a log message even if debug is not enabled. It seems odd that removing a song shouldn't be done at the same log level; otherwise looking at the log leads you to believe songs are never removed from the library on update. Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
		 Dan McGee
					Dan McGee
				
			
				
					committed by
					
						 Max Kellermann
						Max Kellermann
					
				
			
			
				
	
			
			
			 Max Kellermann
						Max Kellermann
					
				
			
						parent
						
							79eb7623ef
						
					
				
				
					commit
					de0f46b947
				
			| @@ -49,7 +49,7 @@ song_remove_event(void) | ||||
| 	assert(removed_song != NULL); | ||||
|  | ||||
| 	uri = song_get_uri(removed_song); | ||||
| 	g_debug("removing: %s", uri); | ||||
| 	g_message("removing %s", uri); | ||||
| 	g_free(uri); | ||||
|  | ||||
| #ifdef ENABLE_SQLITE | ||||
|   | ||||
		Reference in New Issue
	
	Block a user