Displaying 20 results from an estimated 100000 matches similar to: "syslog logger performance"
2020 Jun 02
0
problem with logger: syslog vs. file
> On 2019-11-16 03:29, Fourhundred Thecat wrote:
> Hello,
>
> I am logging directly into file and also to syslog.
> Here is snippet from my /etc/asterisk/logger.conf:
>
> messages => notice,warning,error,verbose
> syslog.local0 => notice,warning,error,verbose
>
> But the logs look different:
>
> VERBOSE[7609][C-00000013] pbx.c:
>
2020 Jun 03
0
problem with logger: syslog vs. file
> On 2020-06-03 17:21, Steve Edwards wrote:
>
> How about:
>
> syslog.local0 = error,verbose,warning
>
> no debugging detail.
>
> syslog.local0 = debug,error,verbose,warning
>
> include debugging detail.
currently, the above has no effect on logging.
As I have shown in the code snippet in my previous email,
2020 Jun 03
2
problem with logger: syslog vs. file
On Wed, 3 Jun 2020, Fourhundred Thecat wrote:
>> On 2020-06-03 12:18, Tony Mountifield wrote:
>> In article <88f96e46-e6bb-a7ef-bebb-5588ef6cd6c1 at gmx.ch>,
>>
>> However, the conversation would then be: should both logging types include
>> line number and function? should both logging types omit them? should
>> it be a configuration option in
1997 Feb 18
0
Abuse of the syslog facility
Any unpriveledged user can abuse the syslog facility in an interesting
way. The following example is a good one that can put misleading
information in the logs.
-------------------------------
#include <syslog.h>
void main(void){
const char *mesg1 = "hda: read_intr: status=0x59 { SeekComplete
DataRequest Error } { UncorrectableError }, CHS=157/2/9, sector=2826\0";
const char
2020 Jun 03
2
problem with logger: syslog vs. file
In article <88f96e46-e6bb-a7ef-bebb-5588ef6cd6c1 at gmx.ch>,
Fourhundred Thecat <400thecat at gmx.ch> wrote:
> > On 2020-06-02 17:48, Tony Mountifield wrote:
> > In article <94191802-6c9c-bdab-615b-001786a2a0ca at gmx.ch>,
> > Fourhundred Thecat <400thecat at gmx.ch> wrote:
> >> > On 2019-11-16 03:29, Fourhundred Thecat wrote:
>
>
2020 Jun 02
2
problem with logger: syslog vs. file
In article <94191802-6c9c-bdab-615b-001786a2a0ca at gmx.ch>,
Fourhundred Thecat <400thecat at gmx.ch> wrote:
> > On 2019-11-16 03:29, Fourhundred Thecat wrote:
> > Hello,
> >
> > I am logging directly into file and also to syslog.
> > Here is snippet from my /etc/asterisk/logger.conf:
> >
> > messages => notice,warning,error,verbose
2006 Nov 17
1
Problem with SeLinux and syslogd
Hello!
on my centos 4.4 i have enable selinux, but after this change syslogd
can't no more run:
# /etc/init.d/syslog restart
Shutting down kernel logger: [ OK ]
Shutting down system logger: [FAILED]
Starting system logger: syslogd: error while loading shared libraries:
libc.so.6: cannot open shared object file: No such file or
2020 Jun 03
0
problem with logger: syslog vs. file
> On 2020-06-03 12:18, Tony Mountifield wrote:
> In article <88f96e46-e6bb-a7ef-bebb-5588ef6cd6c1 at gmx.ch>,
>
> However, the conversation would then be: should both logging types include
> line number and function? should both logging types omit them? should
> it be a configuration option in logger.conf whether they include or omit?
> if so, what should the default be,
2004 Jul 22
6
[Bug 906] syslog messages from sshd [net] lost
http://bugzilla.mindrot.org/show_bug.cgi?id=906
Summary: syslog messages from sshd [net] lost
Product: Portable OpenSSH
Version: 3.8.1p1
Platform: All
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P2
Component: sshd
AssignedTo: openssh-bugs at mindrot.org
ReportedBy: peak at
2020 Jun 03
0
problem with logger: syslog vs. file
> On 2020-06-02 17:48, Tony Mountifield wrote:
> In article <94191802-6c9c-bdab-615b-001786a2a0ca at gmx.ch>,
> Fourhundred Thecat <400thecat at gmx.ch> wrote:
>> > On 2019-11-16 03:29, Fourhundred Thecat wrote:
>>
>> case LOGTYPE_SYSLOG:
>> snprintf(buf, size, "%s[%d]%s: %s:%d in %s: %s",
>>
2009 Nov 09
1
CentOS 5.4 logrotate and syslog
Anyone having problems with logrotate and CentOS 5.4?
Although I have /etc/logrotate.d/mail (contents below) to rotate my maillog
file, it fails to do it automatically:
/var/log/maillog {
compress
dateext
maxage 365
rotate 60
size=+1024k
missingok
postrotate
/etc/init.d/MailScanner restart
endscript
}
++++++++++++++++++++++++++++
logrotate.conf:
2006 Nov 16
0
Rails logger doesn't log nil, Ruby logger does
Is there some reason that the Rails logger doesn''t log nil as the string
"nil", like the Ruby logger does? It is a bit confusing.
Ruby example:
$ cat log.rb
require ''logger''
logger = Logger.new(STDOUT)
logger.info "test"
logger.info true
logger.info nil
logger.info "end test"
$ ruby log.rb
I, [2006-11-15T16:45:00.348262 #2058] INFO
2007 Mar 11
2
logrotate, syslog, and chsh
I'm noticing that logrotate's default configuration for rotating /var/
log/secure and /var/log/messages partially fails if root's shell is
set to /bin/tcsh (via chsh). (Running on CentOS 4.4;
logrotate-3.7.1-5.RHEL4).
What seems to be happening is that the logrotate.d/syslog postrotate
command runs:
/bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null
2009 Oct 30
2
Syslog do not work
Guys, attached is copy of both the i) /etc/sysconfig/syslog
ii) /etc/syslog.conf
I have a Centos ver5.3
The syslog is not working and also I installed Webmin, also it does not
work,
this is what the error is "
Info Internet Explorer cannot
2003 Nov 03
3
(long) high traffic syslog server.
I have some questions about what needs tuned on a high traffic syslog box.
I seem to be dropping quite a few syslog packets.
This is a syslog server for a high usage Firewall btw.
Nic is a Compaq tl0
4.8-P13
netstat -s -p udp | grep buf
19,762,079 dropped due to full socket buffers
uptime
5:28PM up 7 days, 18:30, 2 users, load averages: 0.21, 0.23, 0.23
I though maybe syslogd was the
2000 Apr 03
1
Re: IPMASQ and lock-up of all terminals ---- Sum mary and update
In article <27BC18174C3CD2118F6000A0C99E423E026A17F3@CRPHEX02.NAVSSES.NAVY.MIL>,
<MeriwetherDJ@nswccd.navy.mil> wrote:
>Well, last night, my box was hit again.. same symptoms:
>
>All attempts to connect remotely receive a connection, but a login prompt
>never comes up.
What about other servers that this machine is running? Do they all hang, or
can you get a response from
2014 Mar 04
2
Pipe into logger duplicates messages in /var/log/messages
I am trying to pipe the output from a process into syslog using the logger
command. Initially I pipe the output into a separate file, but as it
happens
this filled up the disk when things went wrong. So I figured I redirect the
output to syslog and let logrotate deal with the roll-over and archive
of the
file.
However the following command :
echo "HI" > logger -t test
Resulted in
2009 Aug 18
2
Change syslog output
Hy!
I receive an nxge driver messages on console:
Aug 18 11:08:42 [hostname] nxge: NOTICE: nxge_ipp_eccue_valid_check:
rd_ptr = XXX wr_ptr = YYY
I find the bug description/correction at sun web page, and i know i
can ignore it.
I thinking about how can i delete from console only these messages
(here is my first version, what is not (so) elegant):
#!/usr/sbin/dtrace -qs
#pragma D option
2005 Mar 30
2
Production Log Analyzer 1.1.0
First public release of Production Log Analyzer!
Download it at:
http://rubyforge.org/frs/?group_id=586
The Production Analyzer lets you find out which pages on your site are
dragging you down. pl_analyze requires the use of SyslogLogger
(included) because the default Logger doesn''t give any way to associate
lines logged to a request.
SyslogLogger gives you many other
2010 Apr 15
1
Using Rails.Logger in a gem in Rails 3beta3
Hi fellows!
I want to use the Rails.logger in my gem. I try the following code in
my main gem-file.
require ''rails/logger''
puts "init1"
::Rails.logger.info("hi")
puts "init2"
The funny thing is: It even don''t give me the output of puts in the
stdout of the server!
But if I remove the call to Rails.logger the puts are displayed in the