mirror of
				https://gitlab.freedesktop.org/wayland/wayland.git
				synced 2025-11-03 09:01:42 -05:00 
			
		
		
		
	server: Kill some unnecessary logs
In order to set a logging function all the time, the output we get needs to be useful. Logging about trivial things like the socket we're using and when clients disconnect doesn't realy help anyone.
This commit is contained in:
		
							parent
							
								
									3adcf6f11b
								
							
						
					
					
						commit
						1bf13ae918
					
				
					 1 changed files with 0 additions and 4 deletions
				
			
		| 
						 | 
					@ -664,8 +664,6 @@ WL_EXPORT void
 | 
				
			||||||
wl_client_destroy(struct wl_client *client)
 | 
					wl_client_destroy(struct wl_client *client)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	uint32_t serial = 0;
 | 
						uint32_t serial = 0;
 | 
				
			||||||
	
 | 
					 | 
				
			||||||
	wl_log("disconnect from client %p\n", client);
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
	wl_signal_emit(&client->destroy_signal, client);
 | 
						wl_signal_emit(&client->destroy_signal, client);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1090,8 +1088,6 @@ wl_display_add_socket(struct wl_display *display, const char *name)
 | 
				
			||||||
		return -1;
 | 
							return -1;
 | 
				
			||||||
	};
 | 
						};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	wl_log("using socket %s\n", s->addr.sun_path);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	s->fd_lock = get_socket_lock(s);
 | 
						s->fd_lock = get_socket_lock(s);
 | 
				
			||||||
	if (s->fd_lock < 0) {
 | 
						if (s->fd_lock < 0) {
 | 
				
			||||||
		close(s->fd);
 | 
							close(s->fd);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue