log daemon


 
Thread Tools Search this Thread
Top Forums Programming log daemon
# 1  
Old 09-11-2002
Question log daemon

How does a log daemon work?
If I'm upto write on, how should I design it?

for example a syslog daemon, how should I make my daemon so that it gets things that hapends in the system?

Or does every program have to call the daemon to log?

please no answers about reading code, I'w tryed and could'nt get a thing.


regards, Esaia
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Linux

Corrupted daemon.log file

hi, yesterday I made something wrong and deleted daemon.log file. Then created a new file with the same name under the same path but now, it seems that file constructed has been corrupted . In earlier times, it was including regex name. Now there is no regex name. This is the current... (0 Replies)
Discussion started by: baris35
0 Replies

2. Programming

how to programing daemon to create log record every second

i write ..... #include <stdio.h> #include <fcntl.h> #include <signal.h> #include <unistd.h> #define RUNNING_DIR "/tmp" #define LOCK_FILE "exampled.lock" #define LOG_FILE "exampled.log" void log_message(filename,message) char *filename; char *message; { FILE... (2 Replies)
Discussion started by: slackman
2 Replies

3. UNIX for Dummies Questions & Answers

Restart a Daemon

Dear expert, How do i restart a daemon ? I know to use the kill <PID> command to shut down the daemon. But after terminate the daemon, how to restart it back ? :confused: Please advice, many thanks in advance !!! :) (2 Replies)
Discussion started by: kseng2002
2 Replies

4. Shell Programming and Scripting

Daemon 101

I think I have an issue almost like Sammy_T's. I want to make a piece of code run as a daemon. I have some java, along with it 15 classpath's converted to a shell script that I can "runmyjavap". The script is just what I need to run after compiling it: #!/bin/sh java -classpath : ...(from... (3 Replies)
Discussion started by: Miller_K
3 Replies

5. Programming

Daemon

i want to write a daemon service which listens the 8080 port and write down all the details in one file. How can i do this ? (2 Replies)
Discussion started by: santosh123
2 Replies

6. AIX

rsync daemon

Does anyone out there use rsync on AIX 5.2, I've installed and would like to run in server mode, I've setup in services and inetd.conf and refreshed inetd. The rsync daemon however does not start, I've also tried rsync --daemon, this just returns to the # prompt. The rsync command itself appears to... (1 Reply)
Discussion started by: gefa
1 Replies

7. Programming

Make a Daemon?

hi can any one tell me how to make an executable to a daemon:confused: (2 Replies)
Discussion started by: sivhard
2 Replies

8. UNIX for Advanced & Expert Users

samba daemon

RedHat 7.1 Problem: can't start the smbd daemon Procedure: #/etc/rc.d/init.d/samba start ps -e ;displays the nmbd daemon running but not smbd #/etc/rc.d/init.d/samba restart ;same thing. nmbd is running but not smbd there is no firewall installed (at least that is what I told... (2 Replies)
Discussion started by: zorro81
2 Replies

9. Programming

What is a daemon process?

This is gonna seem really silly to almost evryone here - but I need to know : what is a daemon process? Thanks (6 Replies)
Discussion started by: Kanu77
6 Replies

10. Programming

daemon

I want to write background running program. How to use daemon function. Please send me source code. Thanks. (1 Reply)
Discussion started by: bat_oyu
1 Replies
Login or Register to Ask a Question
OP_SERVER(8)						User Contributed Perl Documentation					      OP_SERVER(8)

NAME
op_server.pl - Proxy server for the Asterisk Flash Operator Panel SYNOPSIS
op_server.pl [options] Options: -?, --help -p, --pidfile -c, --confdir -l, --logdir -d, --daemon -v, --version -X, --debuglevel OPTIONS
--help Print a brief help message and exits --pidfile Specify the pid file to use when running in daemon mode. Defaults to /var/run/op_panel.pid --confdir Specify where to look for the configuration files. If omited, it will look for them in the same directory where op_server.pl resides --logdir If specified, will write the log files to that directory. If not, it will output to STDOUT and STDERR --daemon Run the server in daemon mode, detaching itself from the console --version Display the version and exits --debuglevel Sets the debug level for the logs. It overrides the value inside op_server.cfg DESCRIPTION
This program is a proxy server for the Flash Operator Panel. It reads configuration files and updates the data to display on the panel. FILES
/etc/op-panel The configuration files of the operator panel daemon reside in that directory (may differ on other distributions). Those include: op_server.cfg The server's configuration file. See remarks in file for documentation. op_buttons.cfg Defines the layout of the operator panel, and also which phones to track. /var/log/op-panel/output.log The standard output of the daemon, including debugging prints and dumps. /var/log/op-panel/error.log The standard error of the daemon. Should normally be empty. perl v5.10.1 2009-06-22 OP_SERVER(8)