perfsonar-dev - Re: [pS-dev] (SYS)LOG messages generated by the pS services?
Subject: perfsonar development work
List archive
- From: Jochen Reinwand <>
- To:
- Cc: "Luchesar V. ILIEV" <>, "" <>, Nicolas Simar <>, GEANT2 Application Service Desk <>,
- Subject: Re: [pS-dev] (SYS)LOG messages generated by the pS services?
- Date: Mon, 21 Apr 2008 08:49:17 +0200
- Organization: DFN Verein
Hi Brian, hi all,
I think this Best Practice is perhaps too complex for us. Things like
timestamp and level are already part of the syslog functionality anyway.
For perfSONAR we already have error codes, that can be used more or less
directly also for syslogging. I would really recommend this! This way the
syslog receives the same messages and codes as the user does via the
perfSONAR response.
There are some message that do not necessarily issue a perfSONAR error
response. I think these are all typical UNIX system error like "File not
found", "Execution failed" and so on. These should be send to syslog in a
very simple form to distinguish them from the perfSONAR errors.
I'm not sure whether a key value pair style string is really handy. Most
tools
don't use such a format for syslogging. A string with fixed positions with
fixed meanings is normally easier to handle and makes it easier to enforces a
common discipline.
regards,
Jochen
On Sunday 20 April 2008 17:40, Brian Tierney wrote:
> Hi all:
>
> I am working on a Grid Troubleshooting project where for logging we
> agreed on a syslog format where everything is 'name=value' pairs.
> We felt that this was the best compromise of easy to parse and easy to
> read.
>
> We also said that each log line should have a required
> 'event=eventname', where eventname should be similar to a java class name.
>
> I recommend that perfSONAR logs use this format as well.
>
> For more information.
>
> http://www.cedps.net/index.php/LoggingBestPractices
>
> This format is the same as the EGEE "Middleware Security Audit Logging
> Guidelines": http://edms.cern.ch/document/793208
>
> Cheers.
>
> Luchesar V. ILIEV wrote:
> > Hi guys,
> >
> > This mail is addressed to all pS service developers. As you know, last
> > week in Zagreb we discussed the issues of monitoring the deployed pS
> > services to ensure they are operating as intended, and really serving
> > the end-users' requests up to the users' satisfaction.
> >
> > As a next step in this process (having used so far ICMP, HTTP GET, and
> > perfSONAR EchoRequest/EchoResponse messages,) in order to achieve more
> > in-depth monitoring, which could, in turn, provide a more true-to-life
> > view on the functioning of the services, we've decided in Zagreb to
> > utilize the well-known and widely-used mechanism of sysloging.
> >
> > I've the task to prepare a proposal for a common format of the syslog
> > messages, or (depending on your feedback) at least some guidelines,
> > which would ensure having consistency amongst the different service's
> > messages' general structure.
> >
> > Therefore, I'd like to ask you to provide me either with a full list of
> > the possible messages that the service you're working on could
> > eventually write to the log, or provide me with information on the
> > structure of the (different types of these) messages.
> >
> > It could be helpful to have also some indication about the severity of
> > each message (from your point of view, of course): e.g., debug,
> > information, warning, error, critical failure, etc. As decided in
> > Zagreb, you have to synchronize this with the Service Desk -- if you
> > could do this beforehand, it would be great. If not, I would be OK with
> > your own (from service developer's point of view) classification.
> >
> > I'll appreciate if you could send me your feedback before the end of
> > next business week: that is, 25th of April inclusive.
> >
> > If there's something unclear in my e-mail and specifically about my
> > request, please do contact me.
> >
> > Many thanks in advance,
> >
> > Cheers,
> > Luchesar
--
Jochen Reinwand, DFN-Labor
Friedrich-Alexander-Universität Erlangen-Nürnberg
Regionales RechenZentrum Erlangen (RRZE)
Martensstraße 1, 91058 Erlangen, Germany
Tel. +49 9131 85-28689, -28800, Fax +49 9131 302941
www.win-labor.dfn.de
- (SYS)LOG messages generated by the pS services?, Luchesar V. ILIEV, 04/18/2008
- Re: [pS-dev] (SYS)LOG messages generated by the pS services?, Luchesar V. ILIEV, 04/18/2008
- Re: [pS-dev] (SYS)LOG messages generated by the pS services?, Brian Tierney, 04/20/2008
- Re: [pS-dev] (SYS)LOG messages generated by the pS services?, Jochen Reinwand, 04/21/2008
- Re: [pS-dev] (SYS)LOG messages generated by the pS services?, Luchesar V. ILIEV, 04/23/2008
- Re: [pS-dev] (SYS)LOG messages generated by the pS services?, Brian Tierney, 04/23/2008
- Re: [pS-dev] (SYS)LOG messages generated by the pS services?, Fausto Vetter, 04/23/2008
- Re: [pS-dev] (SYS)LOG messages generated by the pS services?, Martin Swany, 04/23/2008
- Re: [pS-dev] (SYS)LOG messages generated by the pS services?, Jochen Reinwand, 04/24/2008
- Re: [pS-dev] (SYS)LOG messages generated by the pS services?, Fausto Vetter, 04/24/2008
- Re: [pS-dev] (SYS)LOG messages generated by the pS services?, Jochen Reinwand, 04/24/2008
- Re: [pS-dev] (SYS)LOG messages generated by the pS services?, Stijn Melis, 04/24/2008
- Re: [pS-dev] (SYS)LOG messages generated by the pS services?, Luchesar V. ILIEV, 04/24/2008
- Re: [pS-dev] (SYS)LOG messages generated by the pS services?, Michael Bischoff, 04/25/2008
- Re: [pS-dev] (SYS)LOG messages generated by the pS services?, Martin Swany, 04/23/2008
- Re: [pS-dev] (SYS)LOG messages generated by the pS services?, Fausto Vetter, 04/23/2008
- Re: [pS-dev] (SYS)LOG messages generated by the pS services?, Brian Tierney, 04/23/2008
- Re: [pS-dev] (SYS)LOG messages generated by the pS services?, Luchesar V. ILIEV, 04/23/2008
- Re: [pS-dev] (SYS)LOG messages generated by the pS services?, Jochen Reinwand, 04/21/2008
Archive powered by MHonArc 2.6.16.