Skip to content

Commit 9c0f69c

Browse files
committed
Added realm logging at startup
1 parent 974c9fe commit 9c0f69c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packet/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@
2727
# Logger configuration
2828
logging.getLogger().setLevel(app.config["LOG_LEVEL"])
2929

30+
app.logger.info("Using the {} realm".format(app.config["REALM"]))
31+
3032
# Initialize the extensions
3133
db = SQLAlchemy(app)
3234
migrate = Migrate(app, db)

0 commit comments

Comments
 (0)