1.6. Configuring Hammer Logging
You can set hammer
to log debugging information for various Satellite components.
You can set debug or normal configuration options for all Satellite components.
After changing hammer’s logging behavior, you must restart Satellite services.
satellite-maintain service restart
# satellite-maintain service restart
To set debug level for all components, use the following command:
hammer admin logging --all --level-debug satellite-maintain service restart
# hammer admin logging --all --level-debug # satellite-maintain service restart
Copy to Clipboard Copied! Toggle word wrap Toggle overflow To set production level logging, use the following command:
hammer admin logging --all --level-production satellite-maintain service restart
# hammer admin logging --all --level-production # satellite-maintain service restart
Copy to Clipboard Copied! Toggle word wrap Toggle overflow To list the currently recognized components, that you can set logging for:
hammer admin logging --list
# hammer admin logging --list
Copy to Clipboard Copied! Toggle word wrap Toggle overflow To list all available logging options:
hammer admin logging --help
# hammer admin logging --help Usage: hammer admin logging [OPTIONS]
Copy to Clipboard Copied! Toggle word wrap Toggle overflow