trace bug
This commit is contained in:
		
							parent
							
								
									374c772da4
								
							
						
					
					
						commit
						ff351975fe
					
				@ -23,7 +23,7 @@ func (wg *WriteLog) Process(cr *Core) error {
 | 
				
			|||||||
		fullUrl := "http://" + cr.FluentBitUrl + "/" + wg.Tag
 | 
							fullUrl := "http://" + cr.FluentBitUrl + "/" + wg.Tag
 | 
				
			||||||
		res, err := http.Post(fullUrl, "application/json", reqBody)
 | 
							res, err := http.Post(fullUrl, "application/json", reqBody)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		fmt.Println("requested, response:", fullUrl, string(wg.Content), res)
 | 
							logrus.Warn("requested, response:", fullUrl, string(wg.Content), res)
 | 
				
			||||||
		if err != nil {
 | 
							if err != nil {
 | 
				
			||||||
			logrus.Error(err)
 | 
								logrus.Error(err)
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user