CLI output date and time added
This commit is contained in:
parent
33981f1b35
commit
2eafd9517d
1 changed files with 1 additions and 1 deletions
|
|
@ -82,7 +82,7 @@ class Uplink(Daemon):
|
|||
status = "DOWN"
|
||||
|
||||
# TODO: Replace all lines like this with generic Python logging
|
||||
print(str(config["uplinks"][inc]["provider"] + " " + status))
|
||||
print(str("[" + str(d) + str(t) + "] " +config["uplinks"][inc]["provider"] + " " + status))
|
||||
|
||||
# TODO: Fix to long lines and make the SQL statement more readable
|
||||
sql = 'INSERT INTO log (timestamp, date, time, uptime, internal_ip, external_ip, external_ipv6, is_linked, ' \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue