mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Listen: set minimum logging level to INFO
This way we can see the server requests.
This commit is contained in:
parent
0b9a488c26
commit
2b631ab4d3
1 changed files with 4 additions and 0 deletions
|
|
@ -476,6 +476,10 @@ def autoreload(args, excqueue=None):
|
|||
|
||||
|
||||
def listen(server, port, output, excqueue=None):
|
||||
# set logging level to at least "INFO" (so we can see the server requests)
|
||||
if logger.level < logging.INFO:
|
||||
logger.setLevel(logging.INFO)
|
||||
|
||||
RootedHTTPServer.allow_reuse_address = True
|
||||
try:
|
||||
httpd = RootedHTTPServer(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue