Skip to content

Commit

Permalink
Revise format of access.log to ensure its standard
Browse files Browse the repository at this point in the history
  • Loading branch information
evilaliv3 committed Oct 26, 2024
1 parent da3bf3c commit 4fe23d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/globaleaks/utils/log.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ def logFormatter(timestamp, request):
if hasattr(request, 'start_time'):
duration = timedelta_to_milliseconds(datetime.now() - request.start_time)

client_ip = '[REMOVED_IP_ADDRESS]'
client_ua = '[REMOVED_USER_AGENT]'
client_ip = '-'
client_ua = '-'

if request.log_ip_and_ua:
client_ip = request.client_ip
Expand Down

0 comments on commit 4fe23d2

Please sign in to comment.