'how to start rsyslog' varies from system to system (I don't know if you
are using Solaris, BSD, Linux, etc)
if you stop rsyslog with your systems normal tools, you can probably start
it with 'rsyslogd -c5 -d' to see the debug output
I don't understand your second question.
David Lang
On Wed, 5 Sep 2012, Abdulnasir Shash wrote:
Date: Wed, 5 Sep 2012 14:37:31 -0700 (PDT)
From: Abdulnasir Shash <[email protected]>
To: "[email protected]" <[email protected]>
Cc: rsyslog-users <[email protected]>
Subject: Re: [rsyslog] sending log messages to remote server
Would you please guide me how to start it with -d option. Also *.* /somefile
need be added in rsyslog.conf ?
________________________________
From: "[email protected]" <[email protected]>
To: Abdulnasir Shash <[email protected]>
Cc: rsyslog-users <[email protected]>
Sent: Wednesday, September 5, 2012 5:24 PM
Subject: Re: [rsyslog] sending log messages to remote server
start it with -d on the command line. it outpus a LOT of stuff
if you have a *.* /somefile the error message may show up in the file.
This is also a good test to see if the problem is with forwarding or with
gathering the logs.
David Lang
On Wed, 5 Sep 2012, Abdulnasir Shash wrote:
Date: Wed, 5 Sep 2012 14:13:01 -0700 (PDT)
From: Abdulnasir Shash <[email protected]>
To: "[email protected]" <[email protected]>, rsyslog-users <[email protected]>
Subject: Re: [rsyslog] sending log messages to remote server
Dear;
I did remove the line. How do I put it in a debug mode ?
Nas
________________________________
From: "[email protected]" <[email protected]>
To: Abdulnasir Shash <[email protected]>; rsyslog-users
<[email protected]>
Sent: Wednesday, September 5, 2012 5:08 PM
Subject: Re: [rsyslog] sending log messages to remote server
On Wed, 5 Sep 2012, Abdulnasir Shash wrote:
I try to send log messages (/root/ashash.log) to server 190.160.1.100. My
rsyslog.conf file look like:
$ModLoad imfile
$InputFileName /root/ashash.log
$InputFileTag
$InputFileStateFile
$InputFileSeverity
$InputFileFacility
$InputRunFileMonitor
$ModLoad omfwd
*.* @190.160.1.100:1456
For some reason, it is not working. Please help me. What have I done wrong ?
do you get any errors at startup?
you should not need to load omfwd, try removing that line and then if
needed start in debug mode to see any other errors.
David Lang
_______________________________________________
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