cabeen / qit

A repository for the Quantitative Imaging Toolkit (QIT)
https://cabeen.io/qitwiki
Other
21 stars 2 forks source link

How to set log path. #2

Closed toomanycats closed 11 months ago

toomanycats commented 11 months ago

I'm using QIT on a grid engine. When something goes wrong with Java, I get a log in my home directory. I'd like to set this log path to another location to keep all of them together.

I'm guessing _JAVA_OPTIONS would work, but I don't know which string to give it.

Thank you

cabeen commented 11 months ago

Hi Daniel,

If you are using the qsubcmd command, then you can specify the log directory with the --qlog flag. But if you're using the grid engine another way, let me know, and I'll see if I can help.

Best, Ryan

toomanycats commented 11 months ago

Hi Ryan. I do set the stdout and stderr logs on our grid engine. What I'm referring to is a Java log that ends up in my home directory. Perhaps it's b/c I did some tests on a local host.

I'll get back to you if it keeps happening. Thank you