Re: Log using syslog

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Leon,

"logger" is a command line tool that should be included in most Linux
distributions, so you can try "man logger" on your system.

The simplest way to run it is "logger -f gnugk.log &", but it has more
options to set the priority etc.

Regards,
Jan

Leon Li wrote:
> Can you let me know how to run it with "logger", like an example?
> 
> Thanks,
> Leon 
> 
> -----Original Message-----
> From: Jan Willamowius [mailto:jan@xxxxxxxxxxxxxx] 
> Sent: Friday, 11 May 2012 5:47 PM
> To: openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
> Subject: Re:  Log using syslog
> 
> Hi Lean,
> 
> GnuGk currently only allows you to send the trace to the screen or to a file. But you could use 'logger' to redirect the output to the syslog.
> 
> Regards,
> Jan
> 
> --
> Jan Willamowius, Founder of the GNU Gatekeeper Project EMail  : jan@xxxxxxxxxxxxxx
> Website: http://www.gnugk.org
> Support: http://www.willamowius.com/gnugk-support.html
> 
> 
> Leon Li wrote:
> > Hi,
> > 
> > I know we can use "-o filename" when starting Gnugk in order to write logs to a file. is there a way the logs can be write to syslog facility like LOCAL_0.
> > 
> > Regards,

-- 
Jan Willamowius, jan@xxxxxxxxxxxxxx, http://www.gnugk.org/

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________________

Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/


[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux