Skip to content

Commit

Permalink
logging changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Jay Harrison committed Nov 18, 2016
1 parent d3772ec commit 648bf34
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
app = Flask(__name__)
app.secret_key = 'SUPERSECRET' # you should change this to something equally random
app.config['CONFIG_FILE'] = os.path.abspath('app/config.yaml')
app.config['PROPAGATE_EXCEPTIONS'] = True
configStr = open(app.config['CONFIG_FILE'], 'r')
app.config['CONFIG'] = yaml.load(configStr)
sqlite_db = os.path.abspath('db/elastatus.db')
Expand Down
2 changes: 1 addition & 1 deletion uwsgi.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ master = true
enable-threads = true
processes = 4
chmod-socket = 666

logger = file:/var/log/uwsgi-elaststatus.log

0 comments on commit 648bf34

Please sign in to comment.