Forum

Author Topic: Disable Logging when running scripts  (Read 1235 times)

sepehr500

  • Newbie
  • *
  • Posts: 17
    • View Profile
Disable Logging when running scripts
« on: September 22, 2022, 03:18:43 AM »
Hello. We are finding the logging is making a ton of noise when running scripts. Is there a way to disable logging when running metashape not using the UI?

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14813
    • View Profile
Re: Disable Logging when running scripts
« Reply #1 on: September 22, 2022, 01:25:13 PM »
Hello sepehr500,

When starting the script from the terminal you can redirect the output to the file by OS means, you can do that for standard output, error output or both.
Best regards,
Alexey Pasumansky,
Agisoft LLC

mqarty

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Disable Logging when running scripts
« Reply #2 on: September 22, 2022, 08:16:09 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?

Thanks,

Marty