forked from github/pelican
Use rich logging for Pelican server
This commit is contained in:
parent
e2c73a0a16
commit
0b9a488c26
2 changed files with 6 additions and 2 deletions
|
|
@ -487,8 +487,8 @@ def listen(server, port, output, excqueue=None):
|
|||
return
|
||||
|
||||
try:
|
||||
print("\nServing site at: http://{}:{} - Tap CTRL-C to stop".format(
|
||||
server, port))
|
||||
console.print("Serving site at: http://{}:{} - Tap CTRL-C to stop".format(
|
||||
server, port))
|
||||
httpd.serve_forever()
|
||||
except Exception as e:
|
||||
if excqueue is not None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue