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
elcsd(8)						      System Manager's Manual							  elcsd(8)

Name
       elcsd - error logging daemon

Syntax
       /etc/elcsd

Description
       The  daemon  logs  hardware  and system-related error packets, or error messages, from the kernel errorlog buffer to the file syserr.<host-
       name>.  Hostname is the name of the local system.  At system startup, the daemon is invoked out of For further information, see The  daemon
       must be running whenever the system is in multiuser mode.

       To invoke the daemon in single-user mode, use the command with the -s option.

       You  can  configure  the daemon to log error packets locally from a remote ULTRIX host, or you can configure the daemon to send local error
       packets to a remote system.  Do this by changing the entries in the file.  For further information, see The daemon uses an  internet  data-
       gram socket to log information across systems.

       Parameters  related  to	such as the desired location for the errorlog file or files, as well as instructions for local and remote logging,
       can be specified in the error logging configuration file, For further information, see

Restrictions
       You must have superuser privileges to invoke the daemon.

Diagnostics
       The daemon logs general status and error messages to in multiuser mode.	This file is purged whenever the daemon is restarted.

Files
See Also
       elcsd.conf(5), eli(8), rc(8), uerf(8)
       Guide to the Error Logger

4th Berkeley Distribution														  elcsd(8)