send data to log with xinetd

B

Bestel

I'm programming a little server with xinetd. This server wait for
connections on the port 2000.
When I write to stdout, it sends datas to the port 2000, and when I
read from stdin, it read datas from 2000.

When I write to stderr, it still send the informations on the port
2000, and I would like that they appears into a log file.

I thougth that if we specified a log_type FILES in the xinetd server
configuration, stderr would go to this output...

Do you know hot to send output to these log files ?
 
C

Christopher Benson-Manica

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,141
Messages
2,570,813
Members
47,357
Latest member
sitele8746

Latest Threads

Top