logfile is accessable via web
This commit is contained in:
parent
707fb71476
commit
89e06ff669
2 changed files with 5 additions and 0 deletions
|
@ -39,6 +39,8 @@ class CryptoBoxWebserverSites(CryptoBox.CryptoBoxProps, CryptoBoxWebserverSettin
|
|||
'''be careful to name this method just "log" seems to be a
|
||||
reserved word'''
|
||||
self.__prepare("show_log")
|
||||
import filehandling
|
||||
self.settings["Data.Log"] = filehandling.read_file(self.settings["Settings.Details"])
|
||||
return website.render(self)
|
||||
|
||||
def status(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue