Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unnecessary log messages for ssh plugin #51

Open
pradeepmantha opened this issue May 26, 2012 · 5 comments
Open

unnecessary log messages for ssh plugin #51

pradeepmantha opened this issue May 26, 2012 · 5 comments

Comments

@pradeepmantha
Copy link
Contributor

The below messages are not needed for XSEDE tutorial.

05/25/2012 08:30:33 PM - SSHJobPlugin(0xeb5efc8) - WARNING - Silently ignoring the walltime_limit attribute. It's not supported by SSH.
05/25/2012 08:30:33 PM - SSHJobPlugin(0xeb5efc8) - WARNING - Silently ignoring the total_cpu_count attribute. It's not supported by SSH.
05/25/2012 08:30:33 PM - SSHJobPlugin(0xeb5efc8) - WARNING - Silently ignoring the spmd_variation attribute. It's not supported by SSH.

@andre-merzky
Copy link
Member

Aren't those messages only visible when SAGA_VERBOSE is set? ::

self.pi.log_warning("Silently ignoring the walltime_limit attribute. It's not supported by SSH.")

But, FWIW, job description attributes should never be silently ignored: if they are specified, then they are likely specified for a reason, and not honoring them will likely cause the application to misbehave.

My $0.02,

Andre.

@pradeepmantha
Copy link
Contributor Author

Yes! The SAGA_VERBOSE is not set and still I see these messages.

On Sat, May 26, 2012 at 8:01 AM, Andre Merzky
[email protected]
wrote:

Aren't those messages only visible when SAGA_VERBOSE is set? ::

   self.pi.log_warning("Silently ignoring the walltime_limit attribute. It's not supported by SSH.")

But, FWIW, job description attributes should never be silently ignored: if they are specified, then they are likely specified for a reason, and not honoring them will likely cause the application to misbehave.

My $0.02,

 Andre.


Reply to this email directly or view it on GitHub:
#51 (comment)

@oweidner
Copy link
Contributor

Pradeep,

this has been fixed in MASTER a while ago? Let me know if not.

Cheers,
Ole

On May 25, 2012, at 8:36 PM, pradeepmantha wrote:

The below messages are not needed for XSEDE tutorial.

05/25/2012 08:30:33 PM - SSHJobPlugin(0xeb5efc8) - WARNING - Silently ignoring the walltime_limit attribute. It's not supported by SSH.
05/25/2012 08:30:33 PM - SSHJobPlugin(0xeb5efc8) - WARNING - Silently ignoring the total_cpu_count attribute. It's not supported by SSH.
05/25/2012 08:30:33 PM - SSHJobPlugin(0xeb5efc8) - WARNING - Silently ignoring the spmd_variation attribute. It's not supported by SSH.


Reply to this email directly or view it on GitHub:
#51

@oweidner
Copy link
Contributor

I can make these "DEBUG" messages instead of "WARNING", so they only show up with SAGA_VERBOSE=5 or higher.

@andre-merzky
Copy link
Member

Silently ignoring job attributes is not good -- if the attribs are specified, they are so for a reason...::

merzky@thinkie:~/saga/bliss (master $%) $ ack 'Silently ignoring'
bliss/plugins/ssh/process.py
27:            self.pi.log_debug("Silently ignoring the walltime_limit attribute. It's not supported by SSH.")
30:            self.pi.log_debug("Silently ignoring the total_cpu_count attribute. It's not supported by SSH.")
33:            self.pi.log_debug("Silently ignoring the number_of_processes attribute. It's not supported by SSH.")
36:            self.pi.log_debug("Silently ignoring the spmd_variation attribute. It's not supported by SSH.")
39:            self.pi.log_debug("Silently ignoring the project attribute. It's not supported by SSH.")
42:            self.pi.log_debug("Silently ignoring the queue attribute. It's not supported by SSH.")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants