arc-blahp-logger(8)

arc-blahp-logger8

Arc authplugin to store blah accouting logs about finished jobs

Usage

arc-blahp-logger -I <jobID> -U <user> -P <proxy file> -L <job status file> [-c <ceid prefix>] [-p <log prefix>] [-d <log level>] [-i]

Overview

ARC BLAH logger is an authplugin to store FINISHED jobs information in log files used by BLAH parser. Generated logs can be used by APEL/DGAS client tools to send accounting information.

Options

-I jobID

A-REX job identifier

-U user

local account that own the job files and processes

-P user proxy

path to user proxy certificate file to get VOMS membership info

-L job status file

A-REX jobstatus .local file containint more info about job (like LRMS id)

-c ceid prefix

prefix to generate CE ID in accordance to GLUE1.3 publishing

-p log prefix

logs location and filename prefix. Default is /var/log/arc/accounting/blahp.log

-d loglevel

logging level from 0(ERROR) to 5(DEBUG)

-i

Ignore failed jobs. Default is to publish them.

Enabling plugin in a-rex configuration

You need to add BLAH logger plugin as a handler for FINISHED state, e.g.:

authplugin="FINISHED timeout=10,onfailure=pass /usr/libexec/arc/arc-blahp-logger -I %I -U %u -L %C/job.%I.local -P %C/job.%I.proxy"

Configuration

There are no particular plugin configuration except passing correct options.

By default BLAH log is written to /var/log/arc/accounting/blahp.log-YYYYMMDD. The log prefix (without -YYYYMMDD) can be redefined with optional -p option.

CE ID is generated automatically and has a format host.fqdn:2811/nordugrid-torque-queue in accordance to GLUE1.3 publishing. Queue is added in runtime anyway, but prefix can be redefined with -c option. This option should be added in case of LRMS.

To debug logger execution you can add -d 5 option and see all ARC logger output from all subsystems used.

Releases

6 releases since Debian 8 (Jessie); the text changed 5 times.

  1. 8
  2. 9
  3. 10
  4. 11
  5. 12
  6. 13

-i since Debian 11 (Bullseye).

Author

Andrii Salnikov <manf at grid dot org dot ua>

From nordugrid-arc-arex 7.0.0-3 in Debian 13 (Trixie). Parsed by carta from the page's man source.