Skip to content

Commit

Permalink
Casting LOGFILE_ROOT to str was a bug
Browse files Browse the repository at this point in the history
  • Loading branch information
arocks committed Apr 5, 2018
1 parent 6ea0303 commit ffd2d7c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/project_name/settings/development.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
]

# Log everything to the logs directory at the top
LOGFILE_ROOT = str(BASE_DIR.parent / 'logs')
LOGFILE_ROOT = BASE_DIR.parent / 'logs'

# Reset logging
# (see http://www.caktusgroup.com/blog/2015/01/27/Django-Logging-Configuration-logging_config-default-settings-logger/)
Expand Down
2 changes: 1 addition & 1 deletion src/project_name/settings/production.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
STATIC_ROOT = str(BASE_DIR.parent / 'site' / 'static')

# Log everything to the logs directory at the top
LOGFILE_ROOT = str(BASE_DIR.parent / 'logs')
LOGFILE_ROOT = BASE_DIR.parent / 'logs'

# Reset logging
LOGGING_CONFIG = None
Expand Down

0 comments on commit ffd2d7c

Please sign in to comment.