Skip to content

Commit

Permalink
generate log file for each app installed in server
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosp420 committed Nov 15, 2017
1 parent 10aecdf commit c2022df
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions voseq/voseq/settings/production.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@
ALLOWED_HOSTS = [
'33.33.33.10', # Your Domain or IP address
]

LOGGING["handlers"]["file"]["filename"] = "/tmp/{}.log".format(ALLOWED_HOSTS[0])

0 comments on commit c2022df

Please sign in to comment.