Features
Support
Community
Downloads
Buy
About
Forum
Home
Search
Login
Register
Agisoft Metashape
»
Agisoft Metashape
»
Python and Java API
»
ENV VAR for Logging Verbosity
« previous
next »
Print
Pages: [
1
]
Author
Topic: ENV VAR for Logging Verbosity (Read 1111 times)
mqarty
Newbie
Posts: 2
ENV VAR for Logging Verbosity
«
on:
September 28, 2022, 08:28:21 PM »
Hi,
We are starting the process using the Metashape python library. We are already using the license env var `agisoft_LICENSE`.
Is there another env var for changing the verbosity of the logging?
Or some setting that we can push into the Document() to reduce the logs. It is currently very noisy and we don't need most of the logs unless we are debugging.
Thanks,
Marty
Logged
Alexey Pasumansky
Agisoft Technical Support
Hero Member
Posts: 14345
Re: ENV VAR for Logging Verbosity
«
Reply #1 on:
October 13, 2022, 08:15:34 PM »
Hello Marty,
There is no such variable at the moment.
The suggested workaround is to use OS means for the log redirection when the script is executed, for example, on Windows:
Code:
[Select]
python.exe script.py > output.txt 2>&1
Logged
Best regards,
Alexey Pasumansky,
Agisoft LLC
Print
Pages: [
1
]
« previous
next »
Agisoft Metashape
»
Agisoft Metashape
»
Python and Java API
»
ENV VAR for Logging Verbosity
Features
Support
Community
Downloads
Buy
About
Features
Support
Community
Downloads
Buy
About
Metashape presentation
(PDF, 5 Mb)