You don't have to create the files yourself. rsyslog creates files itself
when it has something to write.

If you use imuxsock, your can generate messages using the "logger" command.
Depending on your configuration, you should see your messages in the debug
file.

Philippe Muller


On Wed, Apr 24, 2013 at 9:12 PM, Josh Bitto <[email protected]> wrote:

> If you are referring to having the file created beforehand it is...I have
> used the debugging before with no problems...
>
>
>
>
>
> -----Original Message-----
> From: [email protected] [mailto:
> [email protected]] On Behalf Of Philippe Muller
> Sent: Wednesday, April 24, 2013 12:10 PM
> To: rsyslog-users
> Subject: Re: [rsyslog] debug mode
>
> Same as with other files: the file won't be created if there is nothing to
> write into.
>
> Philippe Muller
>
>
> On Wed, Apr 24, 2013 at 7:07 PM, Josh Bitto <[email protected]>
> wrote:
>
> > When I use the *.* /var/log/debugformat;RSYSLOG_DebugFormat
> > Does it log if there is anything to log or does it not fill the log
> > file if there are no debug messages to create?
> >
> > The reason I'm asking is I took David's advice about my previous email
> > about zonedirector and tried to do some debugging but nothing is being
> > written to that file.
> >
> >
> >
> > Joshua Bitto
> > Information Technologist
> > KCC
> >
> >
> >
> > _______________________________________________
> > 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.
> >
> _______________________________________________
> 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.
> _______________________________________________
> 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.
>
_______________________________________________
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.

Reply via email to