This is an automated email from the ASF dual-hosted git repository.
gstein pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/steve.git
The following commit(s) were added to refs/heads/trunk by this push:
new aa774d2 More info into the log. Who opened/closed?
aa774d2 is described below
commit aa774d28e0d6607399927914f8f303ad4c0485f0
Author: Greg Stein <[email protected]>
AuthorDate: Thu Oct 9 06:11:10 2025 -0500
More info into the log. Who opened/closed?
---
v3/server/pages.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/v3/server/pages.py b/v3/server/pages.py
index 7756eb1..a55a7f0 100644
--- a/v3/server/pages.py
+++ b/v3/server/pages.py
@@ -210,7 +210,7 @@ async def do_open_endpoint(election):
### check authz
- _LOGGER.info(f'Opening election[E:{election.eid}]')
+ _LOGGER.info(f'User[U:{result.uid}] opened election[E:{election.eid}]')
### should open/keep a PersonDB instance in the APP
pdb = steve.persondb.PersonDB(DB_FNAME)
@@ -230,7 +230,7 @@ async def do_close_endpoint(election):
### check authz
- _LOGGER.info(f'Closing election[E:{election.eid}]')
+ _LOGGER.info(f'User[U:{result.uid}] closed election[E:{election.eid}]')
# Close the Election.
election.close()