Skip to content

Commit 9e98a43

Browse files
committed
feat: set nginx.DEBUG to show debug output
1 parent dda56d5 commit 9e98a43

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

nginx.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@
1010
import logging
1111

1212
INDENT = ' '
13+
DEBUG=False
1314

14-
logging.basicConfig(level=logging.INFO)
15+
logging.basicConfig(level=logging.DEBUG if DEBUG else logging.INFO)
1516

1617
class Error(Exception):
1718
pass

0 commit comments

Comments
 (0)