Skip to content

Commit

Permalink
add logging
Browse files Browse the repository at this point in the history
  • Loading branch information
andylytical committed Jan 10, 2024
1 parent 2e21644 commit b54c9e6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions jiracmdline/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@
import os
import secrets
import user
import logging

logfmt = '%(levelname)s:%(funcName)s[%(lineno)d] %(message)s'
loglvl = logging.INFO
loglvl = logging.DEBUG
logging.basicConfig( level=loglvl, format=logfmt )
logging.getLogger( 'libjira' ).setLevel( loglvl )

app = flask.Flask( __name__ )
app.secret_key = secrets.token_hex()
Expand Down

0 comments on commit b54c9e6

Please sign in to comment.