What Message Format do we use?

Diskussions related to the development of PhpLogCon

Google Ads


Postby alorbach » Thu Feb 14, 2008 3:53 pm

template code... its just an alias for the real ones ;)
alorbach
Site Admin
 
Posts: 1627
Joined: Thu Feb 13, 2003 11:55 am

Urgent Question?

  • Pulling out your Hair?
  • Wasting Time and Money?
  • Deadline Approaching?

Postby alorbach » Thu Feb 14, 2008 4:23 pm

rgerhards wrote:It's clean, but I think it would be better to work on a scheme similar to rsyslog. Rsyslog already has fields defined in its property replacer:

http://www.rsyslog.com/doc-property_replacer.html

However, they are ugly ;) - but known by users.


Do we have samples of the format if each property somewhere?
alorbach
Site Admin
 
Posts: 1627
Joined: Thu Feb 13, 2003 11:55 am

Postby rgerhards » Thu Feb 14, 2008 4:27 pm

alorbach wrote:template code... its just an alias for the real ones ;)


mmmhhhh... The whole point was that users do not need to relearn the properties. Isn't that contradictionary? Or does the user not get in touch with the template?
rgerhards
Site Admin
 
Posts: 3806
Joined: Thu Feb 13, 2003 11:57 am

Postby rgerhards » Thu Feb 14, 2008 4:29 pm

alorbach wrote:
rgerhards wrote:It's clean, but I think it would be better to work on a scheme similar to rsyslog. Rsyslog already has fields defined in its property replacer:

http://www.rsyslog.com/doc-property_replacer.html

However, they are ugly ;) - but known by users.


Do we have samples of the format if each property somewhere?


What do you mean with "samples of the format"? If they are strings or numbers?
rgerhards
Site Admin
 
Posts: 3806
Joined: Thu Feb 13, 2003 11:57 am

Postby alorbach » Thu Feb 14, 2008 4:35 pm

How is the date is formatted for example. Is it a unix timestamp, or something like "Feb 11 11:06:54"?

rgerhards wrote:
alorbach wrote:template code... its just an alias for the real ones ;)


mmmhhhh... The whole point was that users do not need to relearn the properties. Isn't that contradictionary? Or does the user not get in touch with the template?


I don't see how the user is related to the templace coding, unless he wants to MOD phplogcon. I am not talking about the display names in the grid. It's all about the template coding ^^
alorbach
Site Admin
 
Posts: 1627
Joined: Thu Feb 13, 2003 11:55 am

Postby rgerhards » Thu Feb 14, 2008 4:42 pm

ok, than this sounds good. As a side-note, I am thinking if we should use the new (much friendlier) names in rsyslog expressions. That would probably be the last chance the change things. I think I'll discuss this with the rsyslog community, too.
rgerhards
Site Admin
 
Posts: 3806
Joined: Thu Feb 13, 2003 11:57 am

Google Ads


Previous

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 0 guests

cron