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

Document how to change log location #4242

Closed
exalate-issue-sync bot opened this issue May 22, 2023 · 3 comments
Closed

Document how to change log location #4242

exalate-issue-sync bot opened this issue May 22, 2023 · 3 comments
Assignees

Comments

@exalate-issue-sync
Copy link

can we please add this info to sw docs .

ref - https://support.h2o.ai/helpdesk/tickets/91640
from [~accountid:557058:389d9607-5bd8-4611-8c6a-755fe9295223]

{code:java}
We offload logs into temporary space of hadoop job defined by spark.yarn.app.container.log.dir.

Furthermore, You can control log level via following Sparkling water properties:

  • spark.ext.h2o.node.log.level (executor log level)
  • spark.ext.h2o.client.log.level (client log level)
    So you can setup these properties to ERROR level to avoid printing too many messages into logs.

Furthermore, You need to control log level of spark as well
via $SPARK_HOME/conf/log4j.properties
regaring log4j.properties, for example -

Set everything to be logged to the console

log4j.rootCategory=ERROR, console
{code}

@exalate-issue-sync
Copy link
Author

Angela Bartz commented: Note that some of this is already documented:

{code}
Furthermore, You can control log level via following Sparkling water properties:

{code}
Furthermore, You need to control log level of spark as well
via $SPARK_HOME/conf/log4j.properties
regaring log4j.properties, for example -

Set everything to be logged to the console

log4j.rootCategory=ERROR, console
{code}
See: https://github.com/h2oai/sparkling-water/blob/master/doc/tutorials/change_log_level.rst

When the SW help system is completed, then this information might be easier for users to navigate.

@DinukaH2O
Copy link

JIRA Issue Migration Info

Jira Issue: SW-678
Assignee: Jakub Hava
Reporter: Nidhi Mehta
State: Resolved
Fix Version: 2.0.23
Attachments: N/A
Development PRs: Available

Linked PRs from JIRA

#545

@hasithjp
Copy link
Member

JIRA Issue Migration Info Cont'd

Jira Issue Created Date: 2018-01-16T11:41:48.333-0800

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

No branches or pull requests

3 participants