Skip to content

Commit

Permalink
Merge branch 'master' of github.com:CSC-IT-Center-for-Science/Kielipa…
Browse files Browse the repository at this point in the history
…nkki-palvelut
  • Loading branch information
mmatthiesencsc committed May 26, 2017
2 parents b3de98f + 3267246 commit e4ae7e5
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
1 change: 1 addition & 0 deletions servers/sanat/roles/mediawiki/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
- name: Install LocalSettings.php
template: src=LocalSettings.php.j2 dest=/srv/mediawiki/workdir/LocalSettings.php


- name: Run composer update
command: /usr/local/bin/composer update --no-dev
args:
Expand Down
27 changes: 27 additions & 0 deletions servers/sanat/roles/smsxml/templates/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,33 @@
# Internationalization
# https://docs.djangoproject.com/en/1.7/topics/i18n/

LOGGING = {
'version': 1,
'disable_existing_loggers': False,
'formatters': {
'standard': {
'format' : "[%(asctime)s] %(levelname)s [%(name)s:%(lineno)s] %(message)s",
'datefmt' : "%d/%b/%Y %H:%M:%S"
}
},
'handlers': {
'file': {
'level': 'ERROR',
'class': 'logging.FileHandler',
'filename': os.path.join(BASE_DIR, 'error.log'),
'formatter': 'standard'
},
},
'loggers': {
'': {
'handlers': ['file'],
'level': 'ERROR',
'propagate': True,
},
},
}


LANGUAGE_CODE = 'fi-fi'

TIME_ZONE = 'UTC'
Expand Down
1 change: 1 addition & 0 deletions servers/sanat/site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
- role: mediawiki
tags: mediawiki
- role: smsxml
tags: smsxml
- role: selinux
- role: geerlingguy.repo-epel
- role: firewall
Expand Down

0 comments on commit e4ae7e5

Please sign in to comment.