Quick overview of various Quick overview of various logfjles, - - PowerPoint PPT Presentation

quick overview of various quick overview of various
SMART_READER_LITE
LIVE PREVIEW

Quick overview of various Quick overview of various logfjles, - - PowerPoint PPT Presentation

Quick overview of various Quick overview of various logfjles, loglevels logfjles, loglevels Florido Paganelli, Lund University 7-9 Nov 2018, ARC Retreat Ume Consistent log confjguration Consistent log confjguration Every subsystem log


slide-1
SLIDE 1

Quick overview of various Quick overview of various logfjles, loglevels logfjles, loglevels

Florido Paganelli, Lund University 7-9 Nov 2018, ARC Retreat Umeå

slide-2
SLIDE 2

07/11/18 www.nordugrid.org 2

Consistent log confjguration Consistent log confjguration

  • Every subsystem log is now

confjgured using the same

  • ption inside the subsystem

block:

– logfile=<full path to the logfjle> – loglevel=[0-5]

  • If not specifjed, defaults will

kick in.

  • Some blocks have more than
  • ne logfjle, their confjguration

varies (see table in next slide)

FATAL

1

ERROR

2

WARNING

3

INFO

4

VERBOSE

5

DEBUG

slide-3
SLIDE 3

07/11/18 www.nordugrid.org 3

Subsystem: A-REX Subsystem: A-REX

Block Name Log

  • ption

Default loglevel Default logfile path What is it [arex] loglevel logfile 3 /var/log/arc/arex.log Main arex logs (former grid- manager.log) [arex] joblog N/A /var/log/arc/arex- jobs.log specialized log about started and finished jobs. If not specified no job logs are created. [arex] helperlog N/A /var/log/arc/ job.helper.errors Configuration

  • ption to specify

the location of log for helpers

slide-4
SLIDE 4

07/11/18 www.nordugrid.org 4

Subsystem: A-REX Subsystem: A-REX

Block Name Log

  • ptions

Default loglevel Default logfile path What is it [arex/cache/ cleaner] loglevel logfile 3 /var/log/arc/ cache-cleaner.log Logs of the cleaning functionality of the cache [arex/data- staging] loglevel logfile As defined in [arex] Undefined, if option not present not created Logs of the data staging capabilities of A- REX. [arex/ws] loglevel logfile N/A /var/log/arc/ ws-interface.log Logs of Web Service interfaces

slide-5
SLIDE 5

07/11/18 www.nordugrid.org 5

Subsystem: A-REX Subsystem: A-REX

Block Name Log

  • ptions

Default loglevel Default logfile path What is it [arex/jura] loglevel logfile 3 /var/log/arc/jura.log Logs of the accounting system jura [arex/ganglia] loglevel logfile N/A /var/log/arc/ gangliarc.log Logs of the ganglia daemon

slide-6
SLIDE 6

07/11/18 www.nordugrid.org 6

Subsystem: gridftp Subsystem: gridftp

Block Name Log

  • ptions

Default loglevel Default logfile path What is it [gridftp] loglevel logfile 3 /var/log/arc/ gridftpd.log Logs of the gridftp server

slide-7
SLIDE 7

07/11/18 www.nordugrid.org 7

Subsystem: Information System Subsystem: Information System

Block Name Log

  • ptions

Default loglevel Default logfile path What is it [infosys] loglevel logfile 1 /var/log/ arc/ infoprovide rs.log Logs of A-REX’s information providers [infosys/ldap] slapd_loglevel System defined Logs of the ldap server [infosys/ldap] bdii_debug_level bdii_log_dir WARNING /var/log/ arc/bdii/ bdii- update.log Logs of the LDAP/BDII subsystem

slide-8
SLIDE 8

07/11/18 www.nordugrid.org 8

Subsystems: DataDelivery, ACIX, Subsystems: DataDelivery, ACIX, nordugridmap nordugridmap

Block Name Log

  • ptions

Default loglevel Default logfile path What is it [datadelivery- service] loglevel logfile 3 /var/log/arc/ datadelivery- service.log Logs of A-REX’s information providers [acix-scanner] loglevel logfile 3 /var/log/arc/arc- acix-scanner.log Logs of The ARC Cache IndexThe ARC Cache IndeX (ACIX) (ACIX) Scanner (on CEs) [nordugridmap] loglevel logfile 3 /var/log/arc/ nordugridmap.log Logs of the nordugridmap utility (creates gridmap-files)

slide-9
SLIDE 9

07/11/18 www.nordugrid.org 9

Subsystem: ACIX scanner Subsystem: ACIX scanner

Block Name Log

  • ptions

Default loglevel Default logfile path What is it [acix-scanner] loglevel logfile 3 /var/log/arc/arc- acix- scanner.log Logs of The ARC Cache IndexThe ARC Cache IndeX (ACIX) (ACIX) Scanner (on CEs)

slide-10
SLIDE 10

07/11/18 www.nordugrid.org 10

Log Format Log Format

  • We tried to unify, but there are still cases in

which we preferred better debugging info

  • ver strict format (e.g. multiline errors)

[ D a t e ] [ C l a s s | M

  • d

u l e ] [ l

  • g

l e v e l ] [ p i d / t h r e a d ] e r r

  • r

m s g

[2018-11-06 04:46:45] [Arc.MCC.TLS] [ERROR] [3799177/868] Failed to accept SSL connection [2018-11-06 04:31:25] [CEInfo] [INFO] [2048688] ############## A-REX infoprovider started

  • Jura is difgerent

INFO: Initialised, job log dir: /var/spool/arc/jobstatus/logs VERBOSE: Expiration time: 2592000 seconds

slide-11
SLIDE 11

07/11/18 www.nordugrid.org 11

Logrotation Logrotation

  • As usual, only performed on default
  • locations. You need to create your own

system logrotate confjgfjle to tackle your

  • wn setup