mirror of
				https://github.com/caddyserver/caddy.git
				synced 2025-10-31 10:37:24 -04:00 
			
		
		
		
	admin: set certmagic cache logger (#5173)
same way it is set in modules/caddytls/tls.go
This commit is contained in:
		
							parent
							
								
									6f8fe01da1
								
							
						
					
					
						commit
						762b02789a
					
				
							
								
								
									
										1
									
								
								admin.go
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								admin.go
									
									
									
									
									
								
							| @ -588,6 +588,7 @@ func (ident *IdentityConfig) certmagicConfig(logger *zap.Logger, makeCache bool) | ||||
| 			GetConfigForCert: func(certmagic.Certificate) (*certmagic.Config, error) { | ||||
| 				return cmCfg, nil | ||||
| 			}, | ||||
| 			Logger: logger.Named("cache"), | ||||
| 		}) | ||||
| 	} | ||||
| 	cmCfg = certmagic.New(identityCertCache, template) | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user