LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 05-21-2007, 10:58 AM   #1
nathan2225
LQ Newbie
 
Registered: Jun 2006
Posts: 27

Rep: Reputation: 0
Using syslog-ng to for application logging


Hi, i wanna use syslog-ng to receive log-data from my application. Currently i'm logging into a file and use logrote to control it's size.


Now i wanna send log-data from my (realtime)app to syslog-ng directly and distribute it there (to file and to a printer)

So my question:
What is the best way to send (input)data from a local application to syslog-ng ?
Just giving the old logfile does not do the trick (syslog-ng does not recognice the updates)

Using syslog-ng v2.04

Thanks
Robert
 
Old 05-21-2007, 11:55 AM   #2
Centinul
Member
 
Registered: Jun 2005
Distribution: Gentoo
Posts: 552

Rep: Reputation: 30
I think you are going to have to find the library for your programming language that will do logging. As far as I know the libraries aren't specific to the logging software that you are using. Just do a little bit of research on google about syslog and programming and you should find what you need.

HTH,

Centinul
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
syslog-ng and logging software gatsby Linux - Software 1 04-24-2007 12:15 PM
Logging/syslog s0n|k Linux - Newbie 2 03-13-2006 08:36 PM
Logging firewall with syslog-ng? RecoilUK Linux - Security 1 08-06-2005 05:28 PM
syslog running but not logging tantric Linux - Security 1 10-15-2003 08:24 AM
logging information into syslog prisam Linux - Security 1 08-05-2003 10:58 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration