2023-07-22 20:10:18,663 - website - INFO - Website is starting
2023-07-22 20:10:18,673 - werkzeug - WARNING - WebSocket transport not available. Install simple-websocket for improved performance.
2023-07-22 20:10:18,677 - werkzeug - INFO - [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
 * Running on all addresses (0.0.0.0)
 * Running on http://127.0.0.1:5000
 * Running on http://192.168.6.223:5000
2023-07-22 20:10:18,677 - werkzeug - INFO - [33mPress CTRL+C to quit[0m
2023-07-22 20:10:24,790 - werkzeug - INFO - 127.0.0.1 - - [22/Jul/2023 20:10:24] "GET /adduser/user?username=testtesttest HTTP/1.1" 200 -
2023-07-22 20:10:24,880 - werkzeug - INFO - 127.0.0.1 - - [22/Jul/2023 20:10:24] "GET /favicon.ico HTTP/1.1" 200 -
2023-07-22 20:10:28,076 - Website - ERROR - Exception on /adduser/user [GET]
Traceback (most recent call last):
  File "/home/anton/Documents/Projekte/Matekass_2.0/venv/lib/python3.11/site-packages/flask/app.py", line 2190, in wsgi_app
    response = self.full_dispatch_request()
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/anton/Documents/Projekte/Matekass_2.0/venv/lib/python3.11/site-packages/flask/app.py", line 1486, in full_dispatch_request
    rv = self.handle_user_exception(e)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/anton/Documents/Projekte/Matekass_2.0/venv/lib/python3.11/site-packages/flask/app.py", line 1484, in full_dispatch_request
    rv = self.dispatch_request()
         ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/anton/Documents/Projekte/Matekass_2.0/venv/lib/python3.11/site-packages/flask/app.py", line 1469, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/anton/Documents/Projekte/Matekass_2.0/Website/__init__.py", line 176, in adduser
    g.db_log.info(f"Added user id: {user[0]} name: {user[2]}")
    ^^^^^^^^
  File "/home/anton/Documents/Projekte/Matekass_2.0/venv/lib/python3.11/site-packages/flask/ctx.py", line 54, in __getattr__
    raise AttributeError(name) from None
AttributeError: db_log
2023-07-22 20:10:28,080 - werkzeug - INFO - 127.0.0.1 - - [22/Jul/2023 20:10:28] "[35m[1mGET /adduser/user?username=testtesttesttest HTTP/1.1[0m" 500 -
