config email and logs

This commit is contained in:
Kayn Ty 2020-04-13 15:30:30 +00:00
parent a90fe5dd1a
commit 9ca3aa8613
3 changed files with 11 additions and 2 deletions

2
.env
View File

@ -38,7 +38,7 @@ CORS_ALLOW_ORIGIN=^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$
# For Gmail as a transport, use: "gmail://username:password@localhost"
# For a generic SMTP server, use: "smtp://localhost:25?encryption=&auth_mode="
# Delivery is disabled by default via "null://localhost"
MAILER_URL=null://localhost
MAILER_URL=MAILER_URL=sendmail://framadate-api.cipherbliss.com
# set the support email who will answer users in case of emergency
SUPPORT_EMAIL=admin_framadate@yopmail.com
###< symfony/swiftmailer-bundle ###

View File

@ -1,4 +1,4 @@
# See https://symfony.com/doc/current/email/dev_environment.html
swiftmailer:
# send all emails to a specific address
#delivery_addresses: ['me@example.com']
delivery_addresses: ['contact@cipherbliss.com']

View File

@ -0,0 +1,9 @@
monolog:
handlers:
main:
type: rotating_file
path: '%kernel.logs_dir%/%kernel.environment%.log'
level: debug
# max number of log files to keep
# defaults to zero, which means infinite files
max_files: 10