Jesus, Jr. C. Enerio wrote:

pluggers, pano pobang mag customize ng logs. For ex. I'm running dhcpd and its logs fall in to /var/log/messages, I want it sana to fall into /var/log/dhcp.log... how do i do it?



consider the ff options:

a. edit the service config file and set the logs new location
b. recompile the service and then indicate the log parameter
    on the configure script similar but not exactly like this:

shell> ./configure --log=/path/to/log
c. create a symlink for the /var/log/message to /var/log/dhcp.log


d. edit the init scripts and add a line similar to this: &> /var/log
to the binary.


start)

       binary_name &> /var/log
;;



HTH






-- Philippine Linux Users' Group (PLUG) Mailing List [EMAIL PROTECTED] (#PLUG @ irc.free.net.ph) Official Website: http://plug.linux.org.ph Searchable Archives: http://marc.free.net.ph . To leave, go to http://lists.q-linux.com/mailman/listinfo/plug . Are you a Linux newbie? To join the newbie list, go to http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to