durrantlab / binana

BINANA (BINding ANAlyzer) analyzes the geometries of predicted ligand poses to identify molecular interactions that contribute to binding. It is useful because accurately characterizing these interactions allows medicinal chemists to assess whether a predicted ligand merits further study. We have also created a BINANA web-browser application.
http://durrantlab.com/binana-download/
Apache License 2.0
13 stars 1 forks source link

Too much logging #3

Closed YojanaGadiya closed 6 months ago

YojanaGadiya commented 6 months ago

Dear Binana team,

It is great that you have the logging enabled for the command line, allowing users to know what is happening, but there are times when the logs get accumulated too much to have any meaning in the terminal. Is there a possible to either move these logs to a file or disable logs from the command line at times?

Thank You.

Regards, Yojana Gadiya

jacobdurrant commented 6 months ago

Hi Yojana. Thanks so much for your interest in BINANA. One way to save the logs to a file, assuming you're using the UNIX command line, is to redirect them using the ">" symbol. For example, you could use something like this to redirect all of the output to the log.out file:

python script.py > log.out

I hope this helps, and thanks again for your interest in BINANA!

YojanaGadiya commented 6 months ago

Thank you @jacobdurrant for your prompt reply.