Skip to Content.
Sympa Menu

perfsonar-dev - Re: [pS-dev] Re: perfSONAR error logging

Subject: perfsonar development work

List archive

Re: [pS-dev] Re: perfSONAR error logging


Chronological Thread 
  • From: "Luchesar V. ILIEV" <>
  • To: Domenico Vicinanza <>
  • Cc: Nicolas Simar <>, Jochen Reinwand <>, ,
  • Subject: Re: [pS-dev] Re: perfSONAR error logging
  • Date: Fri, 06 Jun 2008 16:47:37 +0300
  • Disposition-notification-to: "Luchesar V. ILIEV" <>
  • Openpgp: id=9A1FEEFF; url=https://cert.acad.bg/pgp-keys/
  • Organization: BG.ACAD/IPP-BAS

Domenico Vicinanza wrote:
Hi Nicolas,

exactly, in particular, if it is possible:

[perfSONAR-SERVICE_ID]
[@LOCATION]
SEVERITY% DESCRIPTION

It is important for us to have the serviceID in the first word of the log: it is the way syslog-ng is able to detect the program which caused the log and allows the proper classification in our database. For example:

perfSONAR-RRDMA srv3.ams.nl.geant2.net WARNING <description>

It is better, to ease the parsing process, not to have dots (.) as separator between location and severity, since the host names contain dots too.

That's very good point, indeed. Concerning location, however, do you really prefer it to be hostname? E.g. for BREN/ISTF, the domain name will be... something.acad.bg. Not very intuitive, I'm afraid.

Anyway, if we'd like to do fast parsing, we could use something like this:

%pS-RRD_MA%srv3.ams.nl.geant2.net%WARNING% bla-bla-bla

I, personally, wouldn't be happy using spaces as delimiters, as they are basically ubiquitous, and so make a very difficult to handle delimiter.

The percent sign was inspired by, as you might've guessed, Cisco. It's quite rare, but even then perhaps we should impose a restriction on using it in the messages/descriptions themselves. Yet, as a beginning, I think it should be OK even without.

Sure, the percent sign makes the messages less legible, but it's a balance we must find: legibility vs ease of parsing (just like with the dots, BTW.)

Cheers,
Luchesar

Attachment: signature.asc
Description: OpenPGP digital signature




Archive powered by MHonArc 2.6.16.

Top of Page