Skip to content

Commit e47225d

Browse files
committed
chore(logging): don't log CSP violations.
At this moment, I don't closely watch them and they just spam the logs. Relate to #226
1 parent 3c7a7b0 commit e47225d

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

infra/vagrant/provisioning/roles/mystamps-app/templates/application-prod.properties

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ logging.file: /data/logs/mystamps.log
3030
logging.level.root: INFO
3131
logging.level.ru.mystamps: DEBUG
3232
logging.level.ru.mystamps.web.feature.account.UsersActivationServiceImpl: INFO
33+
logging.level.ru.mystamps.web.feature.site.CspController: ERROR
3334
logging.level.ru.mystamps.web.support.spring.security.SessionLocaleResolverAwareFilter: INFO
3435
logging.level.ru.mystamps.web.support.mailgun.ApiMailgunEmailSendingStrategy: INFO
3536
logging.level.org.springframework.web.servlet.handler.SimpleUrlHandlerMapping: WARN

src/main/resources/application-test.properties

+1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ spring.liquibase.change-log: classpath:/liquibase/changelog.xml
3535
logging.level.root: INFO
3636
logging.level.ru.mystamps: DEBUG
3737
logging.level.ru.mystamps.web.feature.account.UsersActivationServiceImpl: INFO
38+
logging.level.ru.mystamps.web.feature.site.CspController: ERROR
3839
logging.level.ru.mystamps.web.support.spring.security.SessionLocaleResolverAwareFilter: INFO
3940
logging.level.ru.mystamps.web.feature.category.CategoryServiceImpl: INFO
4041
logging.level.ru.mystamps.web.feature.country.CountryServiceImpl: INFO

0 commit comments

Comments
 (0)