mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	log-search: Some Django log lines do not include hostname.
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							fe17a4d6d0
						
					
				
				
					commit
					e3a65b1528
				
			@@ -313,7 +313,9 @@ def print_line(
 | 
			
		||||
    url = f"{BOLD}{match['path']}"
 | 
			
		||||
    if filter_type != FilterType.HOSTNAME:
 | 
			
		||||
        hostname = match["hostname"]
 | 
			
		||||
        if not args.nginx:
 | 
			
		||||
        if hostname is None:
 | 
			
		||||
            hostname = "???.zulipchat.com"
 | 
			
		||||
        elif not args.nginx:
 | 
			
		||||
            if hostname == "root":
 | 
			
		||||
                hostname = "zulip.com"
 | 
			
		||||
            else:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user