mirror of
https://framagit.org/tykayn/date-poll-api
synced 2023-08-25 08:23:11 +02:00
config email and logs
This commit is contained in:
parent
a90fe5dd1a
commit
9ca3aa8613
2
.env
2
.env
@ -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 ###
|
||||
|
@ -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']
|
||||
|
9
config/packages/prod/monolog.yaml
Normal file
9
config/packages/prod/monolog.yaml
Normal 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
|
Loading…
Reference in New Issue
Block a user