Re: syslog not properly tagged

2015-11-11 Thread B.R.
syslog has facilities to allow you sending messages from different sources to different destinations. That being rsyslog-related, I suggest you read some 101 books on this topic. It seems all the help about nginx you could grab from this ML has already been provided. --- *B. R.* On Wed, Nov 11, 2

Re: syslog not properly tagged

2015-11-11 Thread Francis Daly
On Wed, Nov 11, 2015 at 12:15:25PM +0200, Avraham Serour wrote: > well the problem is not only with formatting, formatting is just and > inconvenience that I managed to work around already, my main problem is to > catch nginx logs only. If nginx is the only thing that writes to this syslog service

Re: syslog not properly tagged

2015-11-11 Thread Avraham Serour
well the problem is not only with formatting, formatting is just and inconvenience that I managed to work around already, my main problem is to catch nginx logs only. my rsyslog config will parse every syslog message, everyone that writes to syslog will send messages, I only need the ones coming fr

Re: syslog not properly tagged

2015-11-10 Thread B.R.
Vladimir already provided a plan B in his a) point. :oP ​​ --- *B. R.* On Tue, Nov 10, 2015 at 10:43 AM, Avraham Serour wrote: > Well nohostname seems to be what I need, but 1.9.7 is even newer than > mainline (currently 1.9.6), my manager won't let me deploy anything but > stable on production

Re: syslog not properly tagged

2015-11-10 Thread Avraham Serour
Well nohostname seems to be what I need, but 1.9.7 is even newer than mainline (currently 1.9.6), my manager won't let me deploy anything but stable on production So unless 1.9.7 gets tagged as stable soon it seems I will need a workaorund Thanks Avraham On Tue, Nov 10, 2015 at 11:23 AM, Vladimir

Re: syslog not properly tagged

2015-11-10 Thread Vladimir Homutov
On Tue, Nov 10, 2015 at 11:08:44AM +0200, Avraham Serour wrote: > Hi, > > I have an ubuntu machine and installed nginx stable using the ppa (1.9.3) > > In my conf I'm sending the logs to syslog: > > access_log syslog:server=unix:/dev/log,tag=lenginx_access le_json; > error_log syslog:server=unix:/d

syslog not properly tagged

2015-11-10 Thread Avraham Serour
Hi, I have an ubuntu machine and installed nginx stable using the ppa (1.9.3) In my conf I'm sending the logs to syslog: access_log syslog:server=unix:/dev/log,tag=lenginx_access le_json; error_log syslog:server=unix:/dev/log,tag=nginx,severity=error; then I'm using rsyslog to ship my logs to m