> -----Original Message----- > From: David Lang [mailto:[email protected]] > Sent: Thursday, November 08, 2018 10:27 PM > To: LOEWENTHAL Sophie > Cc: sophie.loewenthal--- via rsyslog > Subject: RE: [rsyslog] rsyslogd 8.24.0 and setting file ownership and > permissions > > On Thu, 8 Nov 2018, [email protected] wrote: > > > Hi David, > > > >> rsyslog doesn't change permissions of files that already exist, > > I deleted all log files and the *.info works with the correct file > > permissions. > Thank-you for all your & everybody else's help so far. > > > > Question 1 : The remote servers look like they log into the *.warn file > file="/app/rsyslog/messages.all" except the actual syslog server, which does > not: > # logger -t user.kern TEST logs into the *.info file but not the *.warn > /messages.all. > > user.kern doesn't mean anything, user and kern are both facilities and it's > supposed to be facility.severity > > see https://en.wikipedia.org/wiki/Syslog > > > Question 2: Is it worth adding disk based queues for the locally logged > > files > below? e.g > > it's almost never worth adding a queue for a local file, let alone a disk > based > queue. The process to delivery the log locally is so fast that you probably > slow > things down by adding a queue to it. > > > template(name="dynaName" type="string" > string="/app/rsyslog/%hostname%.log") > > *.info { > > action( > > type="omfile" > > name="infoActionName" > > dynafile="dynaName" > > queue.spoolDirectory="/app/rsyslog/queues" > > queue.size="1024000" > > queue.filename="hostname-info.queue" > > queue.maxdiskspace="64m" > > queue.type="FixedArray" > > queue.maxfilesize="10m" > > queue.saveonshutdown="on" > > queue.discardseverity="7" > > Action.ResumeInterval="1" > > Action.ResumeRetryCount="-1" > > ) > > } > > *.warn { > > action( > > type="omfile" > > name="warnActionName" > > file="/app/rsyslog/messages.warn.all" > > ) > > }
Hi David, > user.kern doesn't mean anything, I shall blame this on yesterday's lack of coffee, and I'll drop any local queues. Many thanks for your advice. Sophie This message and any attachments (the "message") is intended solely for the intended addressees and is confidential. If you receive this message in error,or are not the intended recipient(s), please delete it and any copies from your systems and immediately notify the sender. Any unauthorized view, use that does not comply with its purpose, dissemination or disclosure, either whole or partial, is prohibited. Since the internet cannot guarantee the integrity of this message which may not be reliable, BNP PARIBAS (and its subsidiaries) shall not be liable for the message if modified, changed or falsified. Do not print this message unless it is necessary, consider the environment. ---------------------------------------------------------------------------------------------------------------------------------- Ce message et toutes les pieces jointes (ci-apres le "message") sont etablis a l'intention exclusive de ses destinataires et sont confidentiels. Si vous recevez ce message par erreur ou s'il ne vous est pas destine, merci de le detruire ainsi que toute copie de votre systeme et d'en avertir immediatement l'expediteur. Toute lecture non autorisee, toute utilisation de ce message qui n'est pas conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite. L'Internet ne permettant pas d'assurer l'integrite de ce message electronique susceptible d'alteration, BNP Paribas (et ses filiales) decline(nt) toute responsabilite au titre de ce message dans l'hypothese ou il aurait ete modifie, deforme ou falsifie. N'imprimez ce message que si necessaire, pensez a l'environnement. _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com/professional-services/ What's up with rsyslog? Follow https://twitter.com/rgerhards NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE THAT.

