Controlling remote agents' logging level on Event Viewer / syslog
プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Fisheye および Crucible は除く
要約
You might want to control the logging level your remote agents log to the System logs. Depending on your scenario and environmental aspects, you could make use of less or more logging.
ソリューション
You can make use of the wrapper.syslog.loglevel
property, which sets the logging level for logging to the Event Log on Windows & syslog on UNIX. This property is set within the wrapper.conf
file, which is located in the <bamboo-agent-home>/conf/ folder.
In order to do any changes to that property, please:
- Stop the Remote Agent.
Go to <bamboo-agent-home>\conf\wrapper.conf and update wrapper.syslog.loglevel logging level according to your needs.
The valid log levels are:- NONE for no output,
- FATAL to only show fatal error messages,
- ERROR to show all error messages,
- WARN to show all warning messages,
- STATUS to show all state changes,
- INFO shows all JVM output and informative messages,
- DEBUG shows detailed debug information.
E.g.,
<bamboo-agent-home>/conf/wrapper.confwrapper.syslog.loglevel=NONE
- Start the Remote Agent.
Fore more information, please see Java Service Wrapper - wrapper.syslog.loglevel.