Skip to content

Commit

Permalink
Reduce the length of log debug line
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-potepalov committed Dec 17, 2024
1 parent fe99476 commit 0f5fe4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pghoard/webserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ def handle_archival_request(self, site, filename, filetype):
xlog_path = os.path.join(xlog_dir, filename)
self.server.log.debug("Got request to archive: %r %r %r, %r", site, filetype, filename, xlog_path)
if not self._is_valid_xlog_path(xlog_path):
self.server.log.debug("xlog_path: %r did not exist or contains symlinks, cannot archive, returning 404", xlog_path)
self.server.log.debug("xlog_path: %r did not exist or is symlink, cannot archive, returning 404", xlog_path)
raise HttpResponse("N/A", status=404)

if filetype == "xlog":
Expand Down

0 comments on commit 0f5fe4c

Please sign in to comment.