# Indexer Journal Client unit file
# Managed by puppet class profile::swh::deploy::base_indexer
# Changes will be overwritten

[Unit]
Description=Software Heritage Indexer Journal Client %i
After=network.target

[Service]
User=<%= @user %>
Group=<%= @group %>

Type=simple
# Mandatory environment variables (check associated parameters.conf for override)
Environment=SWH_CONFIG_FILENAME=<%= @config_directory %>/%i.yml
Environment=LOGLEVEL=INFO
Environment=SWH_SENTRY_DSN=
Environment=SWH_SENTRY_ENVIRONMENT=
Environment=SWH_MAIN_PACKAGE=

ExecStart=/usr/bin/swh \
  --log-level $LOGLEVEL \
  --log-level azure.core.pipeline.policies.http_logging_policy:WARN \
  indexer \
  --config-file $SWH_CONFIG_FILENAME \
  journal-client %i
Restart=always
RestartSec=10

[Install]
WantedBy=multi-user.target

# Indexer Journal Client unit file
# Managed by puppet class profile::swh::deploy::base_indexer
# Changes will be overwritten

[Unit]
Description=Software Heritage Indexer Journal Client %i
After=network.target

[Service]
User=<%= @user %>
Group=<%= @group %>

Type=simple
# Mandatory environment variables (check associated parameters.conf for override)
Environment=SWH_CONFIG_FILENAME=<%= @config_directory %>/%i.yml
Environment=LOGLEVEL=INFO
Environment=SWH_SENTRY_DSN=
Environment=SWH_SENTRY_ENVIRONMENT=
Environment=SWH_MAIN_PACKAGE=

ExecStart=/usr/bin/swh \
  --log-level $LOGLEVEL \
  --log-level azure.core.pipeline.policies.http_logging_policy:WARNING \
  indexer \
  --config-file $SWH_CONFIG_FILENAME \
  journal-client %i
Restart=always
RestartSec=10

[Install]
WantedBy=multi-user.target

Make indexer journal client less verbose properly
Make indexer journal client less verbose properly

WARN is not the right keyword, WARNING is.

Related to T4406
