tylerbenson / vyllage

https://www.vyllage.com
4 stars 0 forks source link

Disable Swagger-Springfox in production environment. #1124

Closed UnspeakableHorror closed 9 years ago

UnspeakableHorror commented 9 years ago

There are a lot of entries in the log like:

 Oct 18 18:16:33 ip-172-31-38-65 Vyllage: [I] s.d.schema.ModelContextKeyGenerator:  Cache Key Generated: documents.model.document.sections.DocumentSection(false)   
Oct 18 18:16:33 ip-172-31-38-65 Vyllage: [I]     s.d.s.web.caching.CachingAspect:   Caching aspect applied for cache models with key documents.model.document.sections.DocumentSection(false)   
Oct 18 18:16:33 ip-172-31-38-65 Vyllage: [I] s.d.schema.ModelContextKeyGenerator:   Cache Key Generated: documents.model.document.sections.DocumentSection(false)   
Oct 18 18:16:33 ip-172-31-38-65 Vyllage: [I]     s.d.s.web.caching.CachingAspect:   Caching aspect applied for cache modelDependencies with key documents.model.document.sections.DocumentSection(false)    
Oct 18 18:16:33 ip-172-31-38-65 Vyllage: [I] s.d.s.p.ModelPropertiesKeyGenerator:   Cache key generated: java.time.LocalDateTime(false) 
UnspeakableHorror commented 9 years ago

Since we don't even use it on prod I think it's better to just disable it there.

tylerbenson commented 9 years ago

That sounds reasonable.