mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 21:28:11 +09:00 
			
		
		
		
	Refactor pprof labels and process desc (#32909)
* Deprecate "gopid" in log, it is not useful and requires very hacky approach * Remove "git.Command.SetDescription" because it is not useful and only makes the logs too flexible
This commit is contained in:
		| @@ -30,7 +30,7 @@ const ( | ||||
| 	LUTC                              // if Ldate or Ltime is set, use UTC rather than the local time zone | ||||
| 	Llevelinitial                     // Initial character of the provided level in brackets, eg. [I] for info | ||||
| 	Llevel                            // Provided level in brackets [INFO] | ||||
| 	Lgopid                            // the Goroutine-PID of the context | ||||
| 	Lgopid                            // the Goroutine-PID of the context, deprecated and it is always a const value | ||||
|  | ||||
| 	Lmedfile  = Lshortfile | Llongfile                                    // last 20 characters of the filename | ||||
| 	LstdFlags = Ldate | Ltime | Lmedfile | Lshortfuncname | Llevelinitial // default | ||||
|   | ||||
		Reference in New Issue
	
	Block a user