LAMMPS in Python: not printing Log

Is there any way to stop printing the log when using LAMMPS in Python?
I run numerous short simulations in Python and printing the log is time-consuming.

When you create the LAMMPS instance, you can add a list of arguments as cmdargs to the lammps object that are the same arguments as used on the lammps command line (4.2. Command-line options — LAMMPS documentation). This includes the -screen and -log flags. Please see the example here: 2.3.4. Creating or deleting a LAMMPS object — LAMMPS documentation