help on dataskq

duock

Verified User
Joined
Jan 22, 2006
Messages
20
hello guy

any chance dont make this log on /var/log/messages


Oct 19 23:26:02 fast crond(pam_unix)[19783]: session opened for user root by (uid=0)
Oct 19 23:26:02 fast crond(pam_unix)[19783]: session closed for user root

i know this from dataskq, but very annoying.

thanks
 
If you read up on syslog you can redirect logs to a separate file.
 
As root do the following:

1. Edit the file /etc/syslog.conf

2. Add the line:

cron.* /var/log/cron

3. Save the file.

4. Type as root: touch /var/log/cron

5. As root type: killall -HUP syslogd

6. If syslog is not running and you get an error like:

No matching processes were found

then syslog was not running and you need to start it.

If that is the case then you need to restart syslogd. More then likely if you are using linux it can be restarted by typing: /sbin/service syslogd restart
 
hi thanks for reply


Oct 20 03:06:01 fast crond(pam_unix)[26844]: session opened for user root by (uid=0)
Oct 20 03:06:01 fast crond[26846]: (root) CMD (/usr/local/directadmin/dataskq)
Oct 20 03:06:01 fast crond(pam_unix)[26844]: session closed for user root

but it still show on /var/log/messages, how to make it only show on /var/log/cron? i dont wan it show on /var/log/messages

i use fd4

and dont have this command
/sbin/service syslogd restart


thanks
 
Last edited:
thanks for reply my mail

but still havent solve my problem

ya tat command work

how can i make
Oct 19 23:26:02 fast crond(pam_unix)[19783]: session opened for user root by (uid=0)
Oct 19 23:26:02 fast crond(pam_unix)[19783]: session closed for user root

dont show on /var/log/messages?

thanks
 
Back
Top