On Monday, November 15, 2010, Dejan Muhamedagic wrote: > > > This may truncate entity, and of course breaks existing filtering > > > setups that trigger on it. > > Right. So, this needs to be optional.
Ok, any favourite option keyword in logd.cf? If it comes to me, the present logd.cf *suggests* that not adding the commong log entity is a bug: <quote> # Entity to be shown at beginning of a message # for logging daemon # Default: "logd" entity logd </quote> Was that option only for its own messages? Isn't that a bit over-due? So maybe "entity none" should suppress it in the future? > > > > Are we sure that adding in the "cl_log_entity" to > > > > > > the "entity" is worth it? > > > Alternatives (may be worse, I don't know): > > > rather prepend it to the message? > > > make sure cl_log_entity is very short? > > > Or does it fit for all practical purposes, anyways? > > > > In loggingdaemon.h: > > > > /* Messages sent to the logging daemon */ > > #define LD_LOGIT 2 > > #define MAXENTITY 32 > > > > > > I don't think there is a risk to get above that. But I have no objections > > to increase it. > > Probably not though one never knows. Could you please clarify? My English fails here to get the meaning. > > > As I wrote in the patch comment, filter rules based on localX are not > > optimal and filtering on "localX *and* a-single-word" does not work, as > > there is no common-log entity so far (I always found that quite > > annoying). > > Don't worry, some will get annoyed by the new format. BTW, can > you show what would a message look like? Nov 10 20:15:33 logd heartbeat: [96679]: info: glib: ucast: bound receive socket to device: eth0 Thanks, Bernd _______________________________________________________ Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/