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
|
path to user proxy certificate file to get VOMS membership info |
|---|---|
|
A-REX jobstatus .local file containint more info about job (like LRMS id) |
|
prefix to generate CE ID in accordance to GLUE1.3 publishing |
|
logs location and filename prefix. Default is |
-
-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.
-i since Debian 11 (Bullseye).