Skip to content

Commit

Permalink
[Screenshot] fix logs path
Browse files Browse the repository at this point in the history
  • Loading branch information
japandotorg committed Sep 23, 2024
1 parent 3785c1f commit 617fabe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion screenshot/common/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def get_service(self) -> Service:
return Service(
executable_path=str(self.cog.manager.driver_location),
service_args=["--log", "debug"],
log_output=str(self.cog.manager.logs_directory),
log_output=str(self.cog.manager.logs_directory / "gecko.log"),
)

def get_options(self) -> Options:
Expand Down
2 changes: 1 addition & 1 deletion screenshot/common/downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ async def download_and_extract_tor(self) -> None:
Log debug file {}
DataDirectory {}
""".format(
self.logs_directory, self.tor_location / "teb-data"
self.logs_directory / "tor.log", self.tor_location / "teb-data"
)
)
log.info("Downloaded tor successfully with location: {}".format(self.tor_location))

0 comments on commit 617fabe

Please sign in to comment.